From 5a55d6224007f7ac0d0e6bd5f649e50b7d60ae3d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 3 Feb 2017 08:44:59 -0200 Subject: Adds ensure param to utils classes --- manifests/utils/thinkpad.pp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'manifests/utils/thinkpad.pp') 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, } } -- cgit v1.2.3