diff options
-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 { |