summaryrefslogtreecommitdiff
path: root/manifests/cron/base.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/cron/base.pp')
-rw-r--r--manifests/cron/base.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp
index acef55e..7daa6fb 100644
--- a/manifests/cron/base.pp
+++ b/manifests/cron/base.pp
@@ -1,6 +1,6 @@
# manifests/cron/base.pp
-
class puppet::cron::base inherits puppet::base {
+
Service['puppet']{
enable => false,
}
@@ -21,7 +21,7 @@ class puppet::cron::base inherits puppet::base {
pattern => 'puppetd',
}
# this works only on < 2.6
- exec{'stop_puppet':
+ exec { 'stop_puppet':
command => 'kill `cat /var/run/puppet/puppetd.pid`',
onlyif => 'test -f /var/run/puppet/puppetd.pid',
require => Service['puppet'],