summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-10-31 16:23:53 +0100
committermh <mh@immerda.ch>2009-10-31 16:23:53 +0100
commit2334e2ffded8f0d313c9c748c931503046ad4367 (patch)
tree8b68a6dd60b1b83d8ec3e60ef8f5db5b4fa8eda8
parent61e56851c8ce82de68a30e5607e14e8a29dbada2 (diff)
don't notify service if we run as cron
-rw-r--r--manifests/cron/base.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/cron/base.pp b/manifests/cron/base.pp
index 76e1099..3f7f8c0 100644
--- a/manifests/cron/base.pp
+++ b/manifests/cron/base.pp
@@ -2,7 +2,10 @@
class puppet::cron::base inherits puppet::base {
Service['puppet']{
- enable => false,
+ enable => false,
+ }
+ File['puppet_config']{
+ notify => undef
}
case $operatingsystem {
debian,openbsd: {
@@ -15,8 +18,8 @@ class puppet::cron::base inherits puppet::base {
}
}
exec{'stop_puppet':
- command => 'kill `cat /var/run/puppet/puppetd.pid`',
- onlyif => 'test -f /var/run/puppet/puppetd.pid',
- require => Service['puppet'],
+ command => 'kill `cat /var/run/puppet/puppetd.pid`',
+ onlyif => 'test -f /var/run/puppet/puppetd.pid',
+ require => Service['puppet'],
}
}