Merge "Setup hiera lookups to do common,group,fqdn"
This commit is contained in:
commit
c94a4f907d
@ -1,8 +1,16 @@
|
|||||||
---
|
---
|
||||||
:hierarchy:
|
:hierarchy:
|
||||||
- "%{::operatingsystem}"
|
- fqdn/"%{::fqdn}"
|
||||||
|
- group/"%{group}" # no :: because group is set at nodescope
|
||||||
- common
|
- common
|
||||||
:backends:
|
:backends:
|
||||||
- yaml
|
- yaml
|
||||||
:yaml:
|
:yaml:
|
||||||
:datadir: "/etc/puppet/hieradata/%{environment}"
|
:datadir: "/etc/puppet/hieradata/%{environment}"
|
||||||
|
|
||||||
|
|
||||||
|
# File directory structure
|
||||||
|
# /etc/puppet/hieradata/production/
|
||||||
|
# /etc/puppet/hieradata/production/fqdn/afs01.openstack.org.yaml #highest priority
|
||||||
|
# /etc/puppet/hieradata/production/group/afs.yaml #middle priority
|
||||||
|
# /etc/puppet/hieradata/production/common.yaml #lowest priority
|
||||||
|
Loading…
Reference in New Issue
Block a user