aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-05 15:36:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-05 15:36:21 -0300
commit2f41b9eaf6275d6d222efec626ba41edf0e76332 (patch)
treef6168f4a1adbfc38c5260f02339589cfe82eae84 /manifests/subsystem
parent7ed1c52b68bbdafe9669cd3e3fcbdd3cc1202ff6 (diff)
downloadpuppet-nodo-2f41b9eaf6275d6d222efec626ba41edf0e76332.tar.gz
puppet-nodo-2f41b9eaf6275d6d222efec626ba41edf0e76332.tar.bz2
Configuring apc_nis munin plugin
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/ups.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp
index d304418..9802d26 100644
--- a/manifests/subsystem/ups.pp
+++ b/manifests/subsystem/ups.pp
@@ -21,6 +21,14 @@ class nodo::subsystem::ups(
batterylevel => $batterylevel,
minutes => $minutes,
}
+
+ # Graph local UPS
+ munin::plugin { apc_nis:
+ ensure => $nisip ? {
+ '127.0.0.1' => present,
+ default => absent,
+ }
+ }
}
}
}