aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/plug.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-03 08:44:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-02-03 08:44:59 -0200
commit5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d (patch)
treeee327ce71af274376f664bd061eeef50b136e2f5 /manifests/utils/plug.pp
parent81316081a32a13a2b948033e78c2987df0bcc014 (diff)
downloadpuppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.gz
puppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.bz2
Adds ensure param to utils classes
Diffstat (limited to 'manifests/utils/plug.pp')
-rw-r--r--manifests/utils/plug.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/utils/plug.pp b/manifests/utils/plug.pp
index 86298f9..b4e009b 100644
--- a/manifests/utils/plug.pp
+++ b/manifests/utils/plug.pp
@@ -1,5 +1,7 @@
# Common utilities for plug computers
-class nodo::utils::plug {
+class nodo::utils::plug (
+ $ensure = 'installed',
+) {
package { [
'mtd-utils',
'cryptsetup',
@@ -7,6 +9,6 @@ class nodo::utils::plug {
'smartmontools',
'u-boot-tools',
]:
- ensure => installed,
+ ensure => $ensure,
}
}