From b3c1d8d45f46f6ce521c23a135117a5216704449 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 27 Oct 2009 14:22:42 +0100 Subject: fix disabling of the service - don't use the status of the service script - try to kill puppet _after_ we managed the service --- manifests/cron/base.pp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manifests') 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'], } } -- cgit v1.2.3