Merge pull request #12 from npwalker/move_hiera_config_setting

Move hiera_config to main section of puppet.conf
This commit is contained in:
Gary Larizza 2016-01-11 09:23:19 -08:00
commit 323b4b9386

View File

@ -15,9 +15,18 @@ class profile::puppetmaster {
notify => Service['pe-puppetserver'],
}
ini_setting { 'puppet.conf hiera_config' :
ini_setting { 'puppet.conf hiera_config main section' :
ensure => present,
path => "${::settings::confdir}/puppet.conf",
section => 'main',
setting => 'hiera_config',
value => $hiera_yaml,
notify => Service['pe-puppetserver'],
}
ini_setting { 'puppet.conf hiera_config master section' :
ensure => absent,
path => "${::settings::confdir}/puppet.conf",
section => 'master',
setting => 'hiera_config',
value => $hiera_yaml,