diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-02-03 08:44:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-02-03 08:44:59 -0200 |
commit | 5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d (patch) | |
tree | ee327ce71af274376f664bd061eeef50b136e2f5 /manifests/utils/thinkpad.pp | |
parent | 81316081a32a13a2b948033e78c2987df0bcc014 (diff) | |
download | puppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.gz puppet-nodo-5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d.tar.bz2 |
Adds ensure param to utils classes
Diffstat (limited to 'manifests/utils/thinkpad.pp')
-rw-r--r-- | manifests/utils/thinkpad.pp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/utils/thinkpad.pp b/manifests/utils/thinkpad.pp index ae25178..a712048 100644 --- a/manifests/utils/thinkpad.pp +++ b/manifests/utils/thinkpad.pp @@ -1,9 +1,11 @@ -class nodo::utils::thinkpad { +class nodo::utils::thinkpad ( + $ensure = 'installed', +) { # Keyboard package { [ 'tpb', ]: - ensure => installed, + ensure => $ensure, } # Thinkfan @@ -17,6 +19,6 @@ class nodo::utils::thinkpad { package { [ 'hdapsd', ]: - ensure => installed, + ensure => $ensure, } } |