488231e444
Before we start having ansible copy smaller hiera files around, we need to be able to split common.yaml into smaller files and continue to use our current structure. Configure hiera to look at group and fqdn files in addition to common. Change-Id: I32bf69f80c748668ca218a7a326c5737ec81fa7f
17 lines
504 B
YAML
17 lines
504 B
YAML
---
|
|
:hierarchy:
|
|
- fqdn/"%{::fqdn}"
|
|
- group/"%{group}" # no :: because group is set at nodescope
|
|
- common
|
|
:backends:
|
|
- yaml
|
|
:yaml:
|
|
: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
|