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/mail.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/network/mail.pp') diff --git a/manifests/utils/network/mail.pp b/manifests/utils/network/mail.pp index 5c2b07f..281ced1 100644 --- a/manifests/utils/network/mail.pp +++ b/manifests/utils/network/mail.pp @@ -1,4 +1,6 @@ -class nodo::utils::network::mail { +class nodo::utils::network::mail ( + $ensure = 'installed', +) { # Mail package { [ 'mutt', @@ -11,7 +13,7 @@ class nodo::utils::network::mail { 'procmail', 'msmtp', ]: - ensure => installed, + ensure => $ensure, } # Fix: ensure that fetchmail is not a service -- cgit v1.2.3