From cbcd280a6e1d7d53c500d63996016394da21ce7c Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 14 Jun 2012 11:23:10 -0300 Subject: take hiera out of the params --- manifests/init.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index b50c1fb..684858a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,10 @@ -class strongswan { +class strongswan( + $manage_shorewall = false +) { include strongswan::base - if hiera('use_shorewall',false) { + if $manage_shorewall { include shorewall::rules::ipsec } } -- cgit v1.2.3