Merge "Setup hiera lookups to do common,group,fqdn"

This commit is contained in:
Jenkins 2015-04-19 14:34:09 +00:00 committed by Gerrit Code Review
commit c94a4f907d

View File

@ -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