From 5828c4a6ebc1f23d8a52e1a2d9327657b0a00dde Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 1 Jan 2013 16:25:24 +0100 Subject: pass shorewall source --- manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests') 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 } -- cgit v1.2.3