diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-07 18:39:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-07 18:39:35 -0300 |
commit | 0722982a293c2f3da0e703e375ded9604d4957f6 (patch) | |
tree | 2e2c21cf0c9fcddc4a37e3d59d3992d6c809c6d5 /manifests/subsystem/monitor/master.pp | |
parent | 0829cf1309d0027fae1227bd54c7efe4ae280191 (diff) | |
download | puppet-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.pp | 5 |
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 { |