Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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
Owner

ericbisme commented Mar 14, 2017

hiera.yaml as of 20170314. Currently we have the proto-structure to separate applications, but the meat of it is not in place. All apps will see all variables as-is. Having real separation between apps is on our list.

Owner

ericbisme commented Aug 4, 2017

Updated to latest since psadmin.io linked me :-). Thanks guys!

iversond commented Aug 7, 2017

👍

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