diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-22 13:46:16 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-22 13:46:16 -0300 |
commit | b75d0f3603fef2c76c546bde6e0060411b4c19c9 (patch) | |
tree | 8c7da43fbd36dbbd7ace836cbe1a70655e00c5a3 /config/hiera.yaml | |
parent | ae7cfbde32756de78f7d29d94e597483a54b75ce (diff) | |
download | puppet-bootstrap-b75d0f3603fef2c76c546bde6e0060411b4c19c9.tar.gz puppet-bootstrap-b75d0f3603fef2c76c546bde6e0060411b4c19c9.tar.bz2 |
Rename 'hiera' to 'config'
Diffstat (limited to 'config/hiera.yaml')
-rw-r--r-- | config/hiera.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/hiera.yaml b/config/hiera.yaml new file mode 100644 index 0000000..2e5600c --- /dev/null +++ b/config/hiera.yaml @@ -0,0 +1,33 @@ +--- +:backends: + - yaml +:yaml: + # Right now vagrant and puppet are not fully supporting + # a relative datadir. For it to work, we were forced to + # create a manifests/hiera symlink. This should be + # reconsidered in the future. + # + # See http://docs.vagrantup.com/v2/provisioning/puppet_apply.html + :datadir: '%{settings::confdir}/config' +:hierarchy: + # + # Put in the secrets folder all sensitive information that + # wont be spread into every system if you're using the Hydra Suite. + # + # We also recommend to leave only encrypted data in your hiera config. + # + - 'secrets/node/%{::clientcert}' + - 'secrets/role/%{::nodo::role}' + - 'secrets/location/%{::nodo::location}' + - 'secrets/domain/%{::domain}' + + # + # All other stuff goes in regular YAML files. + # + - 'node/%{::clientcert}' + - 'role/%{::nodo::role}' + - 'virtual/%{::virtual}' + - 'location/%{::nodo::location}' + - 'domain/%{::domain}' + - bootstrap + - common |