summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-14 14:47:43 -0300
committermh <mh@immerda.ch>2012-06-14 14:47:43 -0300
commitf021bbd23d559b192b563b5dbe6abe8e0cf41c9f (patch)
tree20c91344901ebd14ea5fc88247a2793c8857d449 /manifests
parentcbcd280a6e1d7d53c500d63996016394da21ce7c (diff)
take hiera out of the params
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp1
-rw-r--r--manifests/init.pp7
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