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/printer.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/printer.pp') diff --git a/manifests/utils/printer.pp b/manifests/utils/printer.pp index 2b1875a..3aa7096 100644 --- a/manifests/utils/printer.pp +++ b/manifests/utils/printer.pp @@ -1,4 +1,6 @@ -class nodo::utils::printer { +class nodo::utils::printer ( + $ensure = 'installed', +) { package { [ 'cups-client', 'hplip', @@ -6,6 +8,6 @@ class nodo::utils::printer { 'printer-driver-hpcups', 'hpijs-ppds', ]: - ensure => present, + ensure => $ensure, } } -- cgit v1.2.3