control-repo/site/profile/manifests/puppetmaster.pp
Nick Walker 437433ff44 Remove hiera.yaml and instead manage it with puppet code
Added hunner/hiera to the Puppetfile and a manifest to use it
instead of placing a hiera.yaml in the repo.
2015-08-03 14:49:06 -07:00

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',
}
}