summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-04 23:54:37 +0200
committervarac <varacanero@zeromail.org>2012-10-04 23:54:37 +0200
commit97e5a3270df10b8fe699a13966ee6b34b864735e (patch)
treed8d152c321392a3f9cb6213d14418010dd06649c /puppet
parentc9b2c36a5e9327c011af1345bdf54a9c4b84d857 (diff)
different parameter for each config
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_openvpn/manifests/server_config.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_openvpn/manifests/server_config.pp b/puppet/modules/site_openvpn/manifests/server_config.pp
index d8a8bc0b..441a21e3 100644
--- a/puppet/modules/site_openvpn/manifests/server_config.pp
+++ b/puppet/modules/site_openvpn/manifests/server_config.pp
@@ -1,4 +1,4 @@
-define site_openvpn::server_config ($port, $proto, $local, $server, $push ) {
+define site_openvpn::server_config ($port, $proto, $local, $server, $push, $management ) {
$openvpn_configname = $name
@@ -58,7 +58,7 @@ define site_openvpn::server_config ($port, $proto, $local, $server, $push ) {
server => $openvpn_configname;
"management $openvpn_configname":
key => 'management',
- value => '127.0.0.1 1000',
+ value => $management,
server => $openvpn_configname;
"proto $openvpn_configname":
key => 'proto',