summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/checklastrun.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-05-11 17:00:20 -0400
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2010-05-11 17:00:20 -0400
commit57d8ecf86f49db2c9e367480e380a73cad4b71e6 (patch)
tree473263b26fdb525e7e7c90efbf919b9d3f02dd99 /manifests/puppetmaster/checklastrun.pp
parent0f0434a582c1f3bd274a79e51ab34a2f4887e659 (diff)
parentfc72cbc8a9d09b2d305df061dfc74cc960610d85 (diff)
Merge commit 'nadir/master'
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"];
}
}