summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-10 19:14:12 +0200
committervarac <varacanero@zeromail.org>2013-08-10 19:14:12 +0200
commite969bb3822ed9f2861dc25fe4cbd1cbb83d803c8 (patch)
tree24b1c131e45d0a41239ca4409760ae87c51c6e56 /manifests/base.pp
parentf7665a02299ae043b3a0d4c611b057b078fef29b (diff)
make ipsec.conf template configurable
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 6f28d12..ffdad02 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -44,7 +44,7 @@ class strongswan::base {
"${strongswan::config_dir}/hosts/__dummy__.conf":
ensure => 'present';
'/etc/ipsec.conf':
- content => template('strongswan/ipsec.conf.erb');
+ content => template($strongswan::ipsec_conf_template);
"/usr/local/sbin/${binary_name}_connected_hosts":
content => "#!/bin/bash\n${strongswan::binary} status | grep ESTABLISHED | awk -F\\[ '{ print \$1 }'\n",
notify => undef,