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 1021B

12345678910111213141516171819202122
  1. ---
  2. :hierarchy:
  3. # Use private hieradata first. Align naming with ansible so that the private
  4. # data can exist in a single copy for both ansible and puppet
  5. # Puppet3 paths
  6. - "hieradata/%{::environment}/host_vars/%{::fqdn}"
  7. - "hieradata/%{::environment}/group_vars/%{group}" # no :: because group is set at nodescope
  8. - "hieradata/%{::environment}/group_vars/all"
  9. # Puppet4 paths
  10. - "%{::environment}/hieradata/host_vars/%{::fqdn}"
  11. - "%{::environment}/hieradata/group_vars/%{group}" # no :: because group is set at nodescope
  12. - "%{::environment}/hieradata/group_vars/all"
  13. # Use public hieradata second, also be environmentally aware. Keep this
  14. # in the old structure so that we don't have to do a dance. There isn't much
  15. # here, and it can be transferred piecemeal.
  16. - "%{::environment}/hiera/fqdn/%{::fqdn}"
  17. - "%{::environment}/hiera/group/%{group}" # no :: because group is set at nodescope
  18. - "%{::environment}/hiera/common"
  19. :backends:
  20. - yaml
  21. :yaml:
  22. :datadir: "{{ puppet_hiera_datadir }}"