aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/ups.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/ups.pp')
-rw-r--r--manifests/subsystem/ups.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp
index f57f4fe..41662a5 100644
--- a/manifests/subsystem/ups.pp
+++ b/manifests/subsystem/ups.pp
@@ -1,5 +1,6 @@
class nodo::subsystem::ups(
$include = hiera('nodo::subsystem::ups::include', false),
+ $ensure = hiera('nodo::subsystem::ups::ensure', 'present'),
$type = hiera('nodo::subsystem::ups::type', 'usb'),
$cable = hiera('nodo::subsystem::ups::cable', 'usb'),
$dev = hiera('nodo::subsystem::ups::dev', '/dev/usb/hiddev0'),
@@ -21,6 +22,7 @@ class nodo::subsystem::ups(
onbatterydelay => $onbatterydelay,
batterylevel => $batterylevel,
minutes => $minutes,
+ ensure => $ensure,
}
class { 'apcupsd::munin':