aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-25 16:37:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-25 16:37:39 -0300
commita86af621ca7ce84c4ba25475eec353eb0def4814 (patch)
tree0f60a6d2a22feea9a8ac6976e3ecb24652e94bdf /manifests/subsystem
parent3f8ca5ab8a31554f2f64ec7652dbf5306265eab7 (diff)
downloadpuppet-nodo-a86af621ca7ce84c4ba25475eec353eb0def4814.tar.gz
puppet-nodo-a86af621ca7ce84c4ba25475eec353eb0def4814.tar.bz2
Adds ensurable to nodo::subsystem::ups
Diffstat (limited to 'manifests/subsystem')
-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':