diff options
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index f842ebf..0ef3818 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,7 +1,8 @@ # manage a strongswan class strongswan( $manage_shorewall = false, - $monkeysphere_publish_key = false + $monkeysphere_publish_key = false, + $ipsec_nat = false ) { class{'monkeysphere': @@ -35,5 +36,9 @@ class strongswan( if $manage_shorewall { include shorewall::rules::ipsec + if $ipsec_nat { + include shorewall::rules::ipsec_nat + } + } } |