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/grsec.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests/utils/security/grsec.pp') diff --git a/manifests/utils/security/grsec.pp b/manifests/utils/security/grsec.pp index c978088..fc63621 100644 --- a/manifests/utils/security/grsec.pp +++ b/manifests/utils/security/grsec.pp @@ -1,4 +1,6 @@ -class nodo::utils::security::grsec { +class nodo::utils::security::grsec ( + $ensure = 'installed', +) { package { [ # The package with the specific image version might not be used # but right now apt is complaining of unmet dependencies when @@ -8,6 +10,6 @@ class nodo::utils::security::grsec { 'linux-image-grsec-amd64', 'paxtest', ]: - ensure => present, + ensure => $ensure, } } -- cgit v1.2.3