diff options
Diffstat (limited to 'manifests/puppetmaster/checklastrun.pp')
-rw-r--r-- | manifests/puppetmaster/checklastrun.pp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp index 0c0126d..0c3af5f 100644 --- a/manifests/puppetmaster/checklastrun.pp +++ b/manifests/puppetmaster/checklastrun.pp @@ -1,13 +1,13 @@ class puppet::puppetmaster::checklastrun { - file{"/usr/local/bin/puppetlast": - source => [ "puppet://$server/modules/site-puppet/master/puppetlast", - "puppet://$server/modules/puppet/master/puppetlast"], - owner => root, group => 0, mode => 0700; - } - file{'/etc/cron.d/puppetlast.cron': - content => "40 10,22 * * * root /usr/local/bin/puppetlast\n", - require => File["/usr/local/bin/puppetlast"], - owner => root, group => 0, mode => 0644, - notify => service["cron"]; - } + file{"/usr/local/bin/puppetlast": + source => [ "puppet://$server/modules/site-puppet/master/puppetlast", + "puppet://$server/modules/puppet/master/puppetlast" ], + owner => root, group => 0, mode => 0700; + } + file{'/etc/cron.d/puppetlast.cron': + content => "40 10,22 * * * root /usr/local/bin/puppetlast\n", + require => File["/usr/local/bin/puppetlast"], + owner => root, group => 0, mode => 0644, + notify => service["cron"]; + } } |