Skip to content

Instantly share code, notes, and snippets.

@ericbisme
Last active August 7, 2017 18:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericbisme/e58b986e5d49dc55a0b1e3fff4850307 to your computer and use it in GitHub Desktop.
Save ericbisme/e58b986e5d49dc55a0b1e3fff4850307 to your computer and use it in GitHub Desktop.
hiera.yaml
# managed by puppet
---
:backends:
- eyaml
- yaml
:logger: console
:hierarchy:
- "nodes/%{::clientcert}"
- "%{::team}/%{::app}/%{::pp_role}"
- "%{::team}/%{::app}/%{::app_productline}%{::app_chain}"
- "%{::team}/%{::app}/%{::app_chain}.chain"
- "%{::team}/%{::app}/%{::app_productline}"
- "%{::team}/%{::app}/%{::region}"
- "%{::team}/%{::app}/defaults"
- "%{::team}/%{::region}"
- "%{::team}/defaults"
- "region/%{::region}"
- defaults
:yaml:
:datadir: /etc/puppet/environments/%{::environment}/hieradata
:eyaml:
:datadir: /etc/puppet/environments/%{::environment}/hieradata
:extension: yaml
:pkcs7_private_key: /etc/puppet/keys/private_key.pkcs7.pem
:pkcs7_public_key: /etc/puppet/keys/public_key.pkcs7.pem
:merge_behavior: deeper
@iversond
Copy link

iversond commented Aug 7, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment