diff options
Diffstat (limited to 'manifests/subsystem/ups.pp')
-rw-r--r-- | manifests/subsystem/ups.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp index 9802d26..915bc40 100644 --- a/manifests/subsystem/ups.pp +++ b/manifests/subsystem/ups.pp @@ -23,9 +23,11 @@ class nodo::subsystem::ups( } # Graph local UPS - munin::plugin { apc_nis: + munin::plugin { 'apc_nis': ensure => $nisip ? { '127.0.0.1' => present, + '0.0.0.0' => present, + 'localhost' => present, default => absent, } } |