aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/monitor/master.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index 97dda33..d6f09b7 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -11,9 +11,11 @@ class nodo::subsystem::monitor::master {
if $main == true {
$ensure = 'present'
+ $package = 'installed'
$service = 'running'
} else {
- $ensure = 'purged'
+ $ensure = 'absent'
+ $package = 'purged'
$service = 'stopped'
}
@@ -23,7 +25,7 @@ class nodo::subsystem::monitor::master {
# http://kuszelas.eu/~eyck/log/Howto/Munin.Rrdcached.html
#
package { 'rrdcached':
- ensure => $ensure,
+ ensure => $package,
}
file { '/etc/default/rrdcached':