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/security/base.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/security/base.pp') diff --git a/manifests/utils/security/base.pp b/manifests/utils/security/base.pp index b639e8c..9eef991 100644 --- a/manifests/utils/security/base.pp +++ b/manifests/utils/security/base.pp @@ -1,9 +1,11 @@ -class nodo::utils::security::base { +class nodo::utils::security::base ( + $ensure = 'installed', +) { package { [ 'keychain', 'gnupg-curl', #'hopenpgp-tools', ]: - ensure => present, + ensure => $ensure, } } -- cgit v1.2.3