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/network/wicd.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/network/wicd.pp') diff --git a/manifests/utils/network/wicd.pp b/manifests/utils/network/wicd.pp index 065d5bb..86af12a 100644 --- a/manifests/utils/network/wicd.pp +++ b/manifests/utils/network/wicd.pp @@ -1,9 +1,11 @@ -class nodo::utils::network::wicd { +class nodo::utils::network::wicd ( + $ensure = 'installed', +) { package { [ 'wicd', 'wicd-curses', #'wicd-gtk', ]: - ensure => installed, + ensure => $ensure, } } -- cgit v1.2.3