git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/hiera.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'hiera.yaml')
-rw-r--r--hiera.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/hiera.yaml b/hiera.yaml
new file mode 100644
index 0000000..1ce9330
--- /dev/null
+++ b/hiera.yaml
@@ -0,0 +1,14 @@
+---
+:backends:
+ - yaml
+:hierarchy:
+ - "%{clientcert}"
+ - "%{application_tier}"
+ - defaults
+
+:yaml:
+# datadir is empty here, so hiera uses its defaults:
+# - /var/lib/hiera on *nix
+# - %CommonAppData%\PuppetLabs\hiera\var on Windows
+# When specifying a datadir, make sure the directory exists.
+ :datadir: "/etc/puppetlabs/puppet/environments/%{environment}/hieradata"