summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-01 16:25:24 +0100
committermh <mh@immerda.ch>2013-01-01 16:25:24 +0100
commit5828c4a6ebc1f23d8a52e1a2d9327657b0a00dde (patch)
tree50479a68191000d03f0e2e479014a86ee878b6b0 /manifests
parent99a475c9121d8f4583486f1beb7c1b77f64664b8 (diff)
pass shorewall source
Diffstat (limited to 'manifests')
-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
}