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