aboutsummaryrefslogtreecommitdiff
path: root/hiera/hiera.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'hiera/hiera.yaml')
-rw-r--r--hiera/hiera.yaml22
1 files changed, 17 insertions, 5 deletions
diff --git a/hiera/hiera.yaml b/hiera/hiera.yaml
index 96cfb87..7e541b1 100644
--- a/hiera/hiera.yaml
+++ b/hiera/hiera.yaml
@@ -10,12 +10,24 @@
# See http://docs.vagrantup.com/v2/provisioning/puppet_apply.html
:datadir: hiera
:hierarchy:
- - 'domain/%{::domain}/node/%{::clientcert}'
- - 'domain/%{::domain}/role/%{::role}'
- - 'domain/%{::domain}/location/%{::location}'
- - 'domain/%{::domain}/%{::domain}'
+ #
+ # 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/domain/%{::domain}'
+ - 'secrets/role/%{::role}'
+ - 'secrets/location/%{::location}'
+
+ #
+ # All other stuff goes in regular YAML files.
+ #
+ - 'node/%{::clientcert}'
+ - 'domain/%{::domain}'
+ - 'role/%{::role}'
- 'location/%{::location}'
- 'virtual/%{::virtual}'
- - 'role/%{::role}'
- bootstrap
- common