aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/monitor/master.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-07 18:28:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-07 18:28:03 -0300
commitc928511a76ec8816e1df6603fd481ce06f7ce011 (patch)
tree67455e1a6592517fdd2c946cab698754655e5b33 /manifests/subsystem/monitor/master.pp
parentfabe96ae81e169905e18bd5ffbc87efb297750b9 (diff)
downloadpuppet-nodo-c928511a76ec8816e1df6603fd481ce06f7ce011.tar.gz
puppet-nodo-c928511a76ec8816e1df6603fd481ce06f7ce011.tar.bz2
Small changes at rrdcached
Diffstat (limited to 'manifests/subsystem/monitor/master.pp')
-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',