diff options
author | mh <mh@immerda.ch> | 2009-10-27 14:22:42 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-10-27 14:22:42 +0100 |
commit | b3c1d8d45f46f6ce521c23a135117a5216704449 (patch) | |
tree | 90180c39f72fde31b8a2e12b22b8ef8e28213baf /manifests/cron | |
parent | 9beff1dc3b928c055ebb038af56fea29406f2c09 (diff) |
fix disabling of the service
- don't use the status of the service script
- try to kill puppet _after_ we managed the service
Diffstat (limited to 'manifests/cron')
-rw-r--r-- | manifests/cron/base.pp | 2 |
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'], } } |