aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-12 09:39:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-12 09:39:43 -0300
commit274b4029582df262ce4bedcb6aa50831f8ef0a20 (patch)
tree9b054e2e4850a73774c45a08c5cfe394264df5ba
parentd161785efd1e3271fcd943f92f88618be6de3a32 (diff)
downloadpuppet-nodo-274b4029582df262ce4bedcb6aa50831f8ef0a20.tar.gz
puppet-nodo-274b4029582df262ce4bedcb6aa50831f8ef0a20.tar.bz2
Moving apc_nis munin plugin to apcupsd module
-rw-r--r--manifests/subsystem/ups.pp5
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp
index 517bbf3..f57f4fe 100644
--- a/manifests/subsystem/ups.pp
+++ b/manifests/subsystem/ups.pp
@@ -23,10 +23,7 @@ class nodo::subsystem::ups(
minutes => $minutes,
}
- # Graph local UPS
- # We might want to replace the debian plugin with a newer one which better
- # maximum limits: http://munin-monitoring.org/browser/munin/plugins/node.d/apc_nis.in
- munin::plugin { 'apc_nis':
+ class { 'apcupsd::munin':
ensure => $munin ? {
true => present,
default => absent,