diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 0ef3818..e46b9a3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,14 +1,16 @@ # manage a strongswan class strongswan( - $manage_shorewall = false, + $manage_shorewall = false, $monkeysphere_publish_key = false, - $ipsec_nat = false + $ipsec_nat = false, + $default_left_ip_address = $::ipaddress, + $additional_options = '' ) { class{'monkeysphere': publish_key => $monkeysphere_publish_key } -> class{'certtool': } - + case $::operatingsystem { centos: { case $::lsbmajdistrelease { @@ -39,6 +41,5 @@ class strongswan( if $ipsec_nat { include shorewall::rules::ipsec_nat } - } } |