summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-14 11:23:10 -0300
committermh <mh@immerda.ch>2012-06-14 11:23:10 -0300
commitcbcd280a6e1d7d53c500d63996016394da21ce7c (patch)
treeafbac4b24b45ad8236f8241a525e1b4a13327e2d /manifests
parentd9d9b6ca5085d140e5dad6842cfe92fa336fdbf5 (diff)
take hiera out of the params
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp6
1 files changed, 4 insertions, 2 deletions
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
}
}