diff options
Diffstat (limited to 'manifests/puppetmaster/checklastrun.pp')
-rw-r--r-- | manifests/puppetmaster/checklastrun.pp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp index 1cf5311..685d6b4 100644 --- a/manifests/puppetmaster/checklastrun.pp +++ b/manifests/puppetmaster/checklastrun.pp @@ -1,12 +1,14 @@ class puppet::puppetmaster::checklastrun { - file{"/usr/local/bin/puppetlast": - source => [ "puppet:///modules/site-puppet/master/puppetlast", - "puppet:///modules/puppet/master/puppetlast" ], - owner => root, group => 0, mode => 0700; - } - file{'/etc/cron.d/puppetlast.cron': - content => "${puppetmaster_checklastrun} root /usr/local/bin/puppetlast ${puppetmaster_checklastrun_timeout}\n", - require => File["/usr/local/bin/puppetlast"], - owner => root, group => 0, mode => 0644, + + file { + '/usr/local/bin/puppetlast': + source => [ "puppet:///modules/site-puppet/master/puppetlast", + "puppet:///modules/puppet/master/puppetlast" ], + owner => root, group => 0, mode => 0700; + + '/etc/cron.d/puppetlast.cron': + content => "${puppetmaster_checklastrun} root /usr/local/bin/puppetlast ${puppetmaster_checklastrun_timeout}\n", + require => File["/usr/local/bin/puppetlast"], + owner => root, group => 0, mode => 0644, } } |