Fix some incorrect quoting in the hiera class
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.
This commit is contained in:
parent
70690333ee
commit
6a78949ca8
@ -2,11 +2,11 @@ class profile::puppetmaster {
|
|||||||
|
|
||||||
class { 'hiera':
|
class { 'hiera':
|
||||||
hierarchy => [
|
hierarchy => [
|
||||||
"\"nodes/%{::trusted.certname}\"",
|
'nodes/%{::trusted.certname}',
|
||||||
"common",
|
'common',
|
||||||
],
|
],
|
||||||
hiera_yaml => '/etc/puppetlabs/code/hiera.yaml',
|
hiera_yaml => '/etc/puppetlabs/code/hiera.yaml',
|
||||||
datadir => "\"/etc/puppetlabs/code/environments/%{environment}/hieradata\"",
|
datadir => '/etc/puppetlabs/code/environments/%{environment}/hieradata\',
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'root',
|
group => 'root',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user