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/raspberrypi.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/raspberrypi.pp') diff --git a/manifests/utils/raspberrypi.pp b/manifests/utils/raspberrypi.pp index 7b5fac4..dd47e97 100644 --- a/manifests/utils/raspberrypi.pp +++ b/manifests/utils/raspberrypi.pp @@ -1,7 +1,9 @@ -class nodo::utils::raspberrypi { +class nodo::utils::raspberrypi ( + $ensure = 'installed', +) { package { [ 'usbutils', ]: - ensure => installed, + ensure => $ensure, } } -- cgit v1.2.3