From the course: Puppet Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Set up eyaml in control repo - Puppet Tutorial
From the course: Puppet Essential Training
Set up eyaml in control repo
- [Instructor] Now that we've got hiera-eyaml installed and keys created on the master we'll just need to create a hiera.yaml file in our control repo to configure it. I'll start by creating a new file in the root of the repo. It's called hiera.yaml. For the content of this file I'm just gonna copy and paste and this should be included in the exercise files. Copy and paste that in here. So before we move on let me just explain a little bit of what's going on in this file. We're actually setting this up to treat every yaml file as a eyaml file. Eyaml is backwards compatible with yaml so it's safe to do this. If you like you can create another level in the hierarchy that's for unencrypted data but I don't think it's worth it. What this file does is creates a hierarchy with three levels here. These are our three paths and then it specifies the path of our keys. And we'll scroll down to the bottom, commit the new file. Once that change is committed and pushed the web hook will push the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up a control repo3m 42s
-
(Locked)
Review of roles and profiles2m 12s
-
(Locked)
Configure r10k3m 42s
-
(Locked)
Install a webhook6m 24s
-
(Locked)
Configure a webhook in GitHub1m 6s
-
(Locked)
Code environments2m 9s
-
(Locked)
Hiera overview2m 55s
-
(Locked)
YAML1m 48s
-
(Locked)
Encrypt Hiera data with hiera-eyaml4m 1s
-
(Locked)
Set up eyaml in control repo7m 59s
-
-
-
-
-
-