Ansible role for running puppet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

hiera.yaml.j2 737B

12345678910111213141516171819
  1. ---
  2. :hierarchy:
  3. # Use private hieradata first
  4. # Puppet3 paths
  5. - "hieradata/%{::environment}/fqdn/%{::fqdn}"
  6. - "hieradata/%{::environment}/group/%{group}" # no :: because group is set at nodescope
  7. - "hieradata/%{::environment}/common"
  8. # Puppet4 paths
  9. - "%{::environment}/hieradata/fqdn/%{::fqdn}"
  10. - "%{::environment}/hieradata/group/%{group}" # no :: because group is set at nodescope
  11. - "%{::environment}/hieradata/common"
  12. # Use public hieradata second, also be environmentally aware
  13. - "%{::environment}/hiera/fqdn/%{::fqdn}"
  14. - "%{::environment}/hiera/group/%{group}" # no :: because group is set at nodescope
  15. - "%{::environment}/hiera/common"
  16. :backends:
  17. - yaml
  18. :yaml:
  19. :datadir: "{{ puppet_hiera_datadir }}"