437433ff44
Added hunner/hiera to the Puppetfile and a manifest to use it instead of placing a hiera.yaml in the repo.
15 lines
324 B
Puppet
15 lines
324 B
Puppet
class profile::puppetmaster {
|
|
|
|
class { 'hiera':
|
|
hierarchy => [
|
|
"nodes/%{::trusted.certname}",
|
|
:common",
|
|
],
|
|
hiera_yaml => '/etc/puppetlabs/code/hiera.yaml',
|
|
datadir => "/etc/puppetlabs/code/environments/%{environment}/hieradata",
|
|
owner => 'root',
|
|
group => 'root',
|
|
}
|
|
|
|
}
|