diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/base.pp | 1 | ||||
-rw-r--r-- | manifests/init.pp | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 38e0860..f266a89 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -2,7 +2,6 @@ class strongswan::base { - require monkeysphere require certtool package{ 'strongswan' : diff --git a/manifests/init.pp b/manifests/init.pp index 684858a..c6b971a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,11 @@ class strongswan( - $manage_shorewall = false + $manage_shorewall = false, + $monkeysphere_publish_key = false ) { - include strongswan::base + class{'monkeysphere': + publish_key => $monkeysphere_publish_key + } -> class{'strongswan::base': } if $manage_shorewall { include shorewall::rules::ipsec |