summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-12-31 17:58:22 +0100
committermh <mh@immerda.ch>2012-12-31 17:58:22 +0100
commit690f05e2888bb862ce300125045f1cb21a0f5856 (patch)
tree5a93869e8352b4e8511754b13df90641472dc4f2 /manifests/init.pp
parentcc53a58dfa6aef4791bb77b24d40a05f3e621643 (diff)
generate the base config from a template -> include everything else
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp9
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
}
-
}
}