diff options
Diffstat (limited to 'manifests/cron/base.pp')
-rw-r--r-- | manifests/cron/base.pp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp index 6688c5e..2289a3c 100644 --- a/manifests/cron/base.pp +++ b/manifests/cron/base.pp @@ -1,23 +1,23 @@ # manifests/cron/base.pp class puppet::cron::base inherits puppet::base { - Service['puppet']{ - enable => false, - } + Service['puppet']{ + enable => false, + } - case $operatingsystem { - debian,openbsd,ubuntu: { - #it's already disabled - } - default: { - Service['puppet']{ - hasstatus => false, - } - } + case $operatingsystem { + debian,openbsd,ubuntu: { + #it's already disabled } - exec{'stop_puppet': - command => 'kill `cat /var/run/puppet/puppetd.pid`', - onlyif => 'test -f /var/run/puppet/puppetd.pid', - require => Service['puppet'], + default: { + Service['puppet']{ + hasstatus => false, + } } + } + exec{'stop_puppet': + command => 'kill `cat /var/run/puppet/puppetd.pid`', + onlyif => 'test -f /var/run/puppet/puppetd.pid', + require => Service['puppet'], + } } |