diff options
Diffstat (limited to 'manifests/puppetd.pp')
-rw-r--r-- | manifests/puppetd.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp index 0fcba46..7e2b33b 100644 --- a/manifests/puppetd.pp +++ b/manifests/puppetd.pp @@ -42,10 +42,17 @@ class puppetd inherits puppet { file { "/etc/puppet/puppet.conf": ensure => file, owner => puppet, - group => root, + group => puppet, mode => 0640, content => template("puppet/puppet-node.conf.erb"), } + } else { + file { "/etc/puppet/puppet.conf": + ensure => file, + owner => puppet, + group => puppet, + mode => 0640, + } } # cron rule to restart puppet minutes after puppetmaster is restarted |