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

Set up eyaml in control repo - Puppet Tutorial

From the course: Puppet Essential Training

Start my 1-month free trial

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…

Contents