aboutsummaryrefslogtreecommitdiff
path: root/hiera/hiera.yaml
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-28 15:06:44 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-28 15:06:44 -0200
commit0aa8510b29568a7001e1f5257c245fb532760a61 (patch)
treeae3d0ea329040938a0bda331d60fcfba1c43247a /hiera/hiera.yaml
parent93ee664156c86145fd460c5ca7b96518a8eb4ecc (diff)
downloadpuppet-bootstrap-0aa8510b29568a7001e1f5257c245fb532760a61.tar.gz
puppet-bootstrap-0aa8510b29568a7001e1f5257c245fb532760a61.tar.bz2
Adding hiera configuration
Diffstat (limited to 'hiera/hiera.yaml')
-rw-r--r--hiera/hiera.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/hiera/hiera.yaml b/hiera/hiera.yaml
new file mode 100644
index 0000000..f5bc512
--- /dev/null
+++ b/hiera/hiera.yaml
@@ -0,0 +1,14 @@
+---
+:backends:
+ - yaml
+:yaml:
+ :datadir: /etc/puppet/hiera
+:hierarchy:
+ - '%{::environment}/domain/%{::domain}/node/%{::clientcert}'
+ - '%{::environment}/domain/%{::domain}/role/%{::role}'
+ - '%{::environment}/domain/%{::domain}/location/%{::location}'
+ - '%{::environment}/domain/%{::domain}/%{::domain}'
+ - '%{::environment}/location/%{::location}'
+ - '%{::environment}/virtual/%{::virtual}'
+ - '%{::environment}/role/%{::role}'
+ - common