summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/checklastrun.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetmaster/checklastrun.pp')
-rw-r--r--manifests/puppetmaster/checklastrun.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp
index 12f1042..fdcc096 100644
--- a/manifests/puppetmaster/checklastrun.pp
+++ b/manifests/puppetmaster/checklastrun.pp
@@ -1,12 +1,13 @@
class puppet::puppetmaster::checklastrun {
- file{'/opt/bin/puppetlast':
+ 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 /opt/bin/puppetlast\n",
- require => File['/opt/bin/puppetlast'],
- owner => root, group => 0, mode => 0644;
+ content => "40 10,22 * * * root /usr/local/bin/puppetlast\n",
+ require => File["/usr/local/bin/puppetlast"],
+ owner => root, group => 0, mode => 0644,
+ notify => service["crond"];
}
}