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.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/puppetmaster/checklastrun.pp b/manifests/puppetmaster/checklastrun.pp
index b57ec05..5a1b1c8 100644
--- a/manifests/puppetmaster/checklastrun.pp
+++ b/manifests/puppetmaster/checklastrun.pp
@@ -12,6 +12,8 @@ class puppet::puppetmaster::checklastrun {
default => "--timeout ${::puppet_lastruncheck_timeout}"
}
+ include ::cron
+
file{
'/usr/local/sbin/puppetlast':
source => [ 'puppet:///modules/puppet/master/lastruncheck' ],
@@ -25,6 +27,6 @@ class puppet::puppetmaster::checklastrun {
owner => root,
group => 0,
mode => '0644',
- notify => service['cron']
+ notify => Service['cron']
}
}