Fixed puppet.conf permissions to prevent permission denied errors from puppetmaster.
This commit is contained in:
parent
5c5af584f4
commit
ef8cf14676
1 changed files with 3 additions and 3 deletions
|
@ -32,11 +32,11 @@ class puppet::client {
|
||||||
file { "/etc/puppet/puppet.conf":
|
file { "/etc/puppet/puppet.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template("puppet/puppet.conf.erb"),
|
content => template("puppet/puppet.conf.erb"),
|
||||||
mode => 0600,
|
mode => 0640,
|
||||||
owner => root,
|
owner => root,
|
||||||
group => $operatingsystem ? {
|
group => $operatingsystem ? {
|
||||||
openbsd => wheel,
|
openbsd => "_puppet",
|
||||||
default => root
|
default => "puppet",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue