fuel-library/deployment/puppet/osnailyfacter/modular/hiera/override_configuration.pp
Bartosz Kupidura d05bb4403c Add config override hierarchy to hiera
Change-Id: Ia6150e5a600160ecc69ac66da120f2a3e88a4bb0
Implements: blueprint openstack-config-change
Depends-on: I91ca0bc82b33d9555d3f558fd6138c5467a57e9c
2015-11-30 14:07:49 +01:00

15 lines
369 B
Puppet

notice('MODULAR: override_configuration.pp')
$hiera_data_dir = '/etc/hiera'
$hiera_override_dir = "${hiera_data_dir}/override"
$hiera_override_config_dir = "${hiera_override_dir}/configuration"
File {
owner => 'root',
group => 'root',
mode => '0644',
ensure => 'directory',
}
file { [$hiera_override_dir, $hiera_override_config_dir]: }