diff options
author | mh <mh@immerda.ch> | 2013-01-03 18:31:05 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-03 18:31:05 +0100 |
commit | 5ce46c56e0ed95e03c3322f6eba53488a0615207 (patch) | |
tree | ee2226bad8fb7110d0259b021710cafcaf5cb8fe /manifests/init.pp | |
parent | 19faa5112c736788ac0ad73eaad8009267be0ad0 (diff) |
automatically configure a subnet for all listening ips
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 06d5250..5458ed8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,6 +5,7 @@ class strongswan( $monkeysphere_publish_key = false, $ipsec_nat = false, $default_left_ip_address = $::ipaddress, + $default_left_subnet = reject(split($::strongswan_ips,','),$::ipaddress), $additional_options = '', $auto_remote_host = false ) { |