aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor/master.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-07 18:39:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-07 18:39:35 -0300
commit0722982a293c2f3da0e703e375ded9604d4957f6 (patch)
tree2e2c21cf0c9fcddc4a37e3d59d3992d6c809c6d5 /manifests/subsystem/monitor/master.pp
parent0829cf1309d0027fae1227bd54c7efe4ae280191 (diff)
downloadpuppet-nodo-0722982a293c2f3da0e703e375ded9604d4957f6.tar.gz
puppet-nodo-0722982a293c2f3da0e703e375ded9604d4957f6.tar.bz2
Fix on nodo::subsystem::monitor::master
Diffstat (limited to 'manifests/subsystem/monitor/master.pp')
-rw-r--r--manifests/subsystem/monitor/master.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index dc52391..9056359 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -28,7 +28,10 @@ class nodo::subsystem::monitor::master {
group => root,
source => 'puppet:///modules/nodo/etc/default/rrdcached',
require => Package['rrdcached'],
- notify => Service['rrdcached'],
+ notify => $main ? {
+ true => Service['rrdcached'],
+ default => undef,
+ },
}
if $main == true {