summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3b67f58..8cb0728 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,6 +1,7 @@
# manage a strongswan
class strongswan(
$manage_shorewall = false,
+ $shorewall_source = 'net',
$monkeysphere_publish_key = false,
$ipsec_nat = false,
$default_left_ip_address = $::ipaddress,
@@ -38,7 +39,9 @@ class strongswan(
}
if $manage_shorewall {
- include shorewall::rules::ipsec
+ class{'shorewall::rules::ipsec':
+ source => $strongswan::shorewall_source
+ }
if $ipsec_nat {
include shorewall::rules::ipsec_nat
}