6a78949ca8
I thought I needed to double quote items that had interpolated variables but it turns out I don't need to which is good because I effectively can't due to .to_yaml not doing what I wanted it to do.
15 lines
325 B
Puppet
15 lines
325 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',
|
|
}
|
|
|
|
}
|