control-repo/hiera.yaml
2015-05-14 11:40:35 -07:00

14 lines
351 B
YAML

---
:backends:
- yaml
:hierarchy:
- "nodes/%{clientcert}"
- 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"