summaryrefslogtreecommitdiff
path: root/templates/hiera.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hiera.yaml.j2')
-rw-r--r--templates/hiera.yaml.j219
1 files changed, 11 insertions, 8 deletions
diff --git a/templates/hiera.yaml.j2 b/templates/hiera.yaml.j2
index 23395a2..496fb5a 100644
--- a/templates/hiera.yaml.j2
+++ b/templates/hiera.yaml.j2
@@ -1,15 +1,18 @@
1--- 1---
2:hierarchy: 2:hierarchy:
3 # Use private hieradata first 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
4 # Puppet3 paths 5 # Puppet3 paths
5 - "hieradata/%{::environment}/fqdn/%{::fqdn}" 6 - "hieradata/%{::environment}/host_vars/%{::fqdn}"
6 - "hieradata/%{::environment}/group/%{group}" # no :: because group is set at nodescope 7 - "hieradata/%{::environment}/group_vars/%{group}" # no :: because group is set at nodescope
7 - "hieradata/%{::environment}/common" 8 - "hieradata/%{::environment}/group_vars/all"
8 # Puppet4 paths 9 # Puppet4 paths
9 - "%{::environment}/hieradata/fqdn/%{::fqdn}" 10 - "%{::environment}/hieradata/host_vars/%{::fqdn}"
10 - "%{::environment}/hieradata/group/%{group}" # no :: because group is set at nodescope 11 - "%{::environment}/hieradata/group_vars/%{group}" # no :: because group is set at nodescope
11 - "%{::environment}/hieradata/common" 12 - "%{::environment}/hieradata/group_vars/all"
12 # Use public hieradata second, also be environmentally aware 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.
13 - "%{::environment}/hiera/fqdn/%{::fqdn}" 16 - "%{::environment}/hiera/fqdn/%{::fqdn}"
14 - "%{::environment}/hiera/group/%{group}" # no :: because group is set at nodescope 17 - "%{::environment}/hiera/group/%{group}" # no :: because group is set at nodescope
15 - "%{::environment}/hiera/common" 18 - "%{::environment}/hiera/common"