diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetd.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/puppetd.pp b/manifests/puppetd.pp index 5950433..63ef34e 100644 --- a/manifests/puppetd.pp +++ b/manifests/puppetd.pp @@ -14,11 +14,19 @@ class puppetd inherits puppet { require => Package["cron"], } + file { "/etc/default/puppet": + source => "puppet://$server/modules/puppet/puppet", + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } + service { "puppet": enable => true, ensure => running, hasrestart => true, - require => Package["puppet"], + require => [ Package["puppet"], File["/etc/default/puppet"] ], } # default config file for puppet nodes |