Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hiera Eyaml - Separate encryption keys for every puppet environment
---
:backends:
- eyaml
- yaml
:hierarchy:
- "nodes/%{::clientcert}"
- common
:yaml:
:datadir: /git_source/puppet/environments/%{::environment}/hieradata
:eyaml:
:datadir: '/git_source/puppet/environments/%{::environment}/hieradata'
:pkcs7_private_key: '/etc/puppet/secure/%{::environment}/private_key.pkcs7.pem'
:pkcs7_public_key: '/etc/puppet/secure/%{::environment}/public_key.pkcs7.pem'
:merge_behavior: deeper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment