summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/cron/base.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp
index 98bb394..42f6cc5 100644
--- a/manifests/cron/base.pp
+++ b/manifests/cron/base.pp
@@ -3,9 +3,11 @@
class puppet::cron::base inherits puppet::base {
Service['puppet']{
enable => false,
+ hasstatus => false,
}
exec{'stop_puppet':
command => 'kill `cat /var/run/puppet/puppetd.pid`',
onlyif => 'test -f /var/run/puppet/puppetd.pid',
+ require => Service['puppet'],
}
}