summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-04-05 12:39:01 -0700
committerelijah <elijah@riseup.net>2014-04-05 12:39:01 -0700
commit4a0feb8fa663c1c73c47f3298c1f303dffd942cc (patch)
tree1a0832ab4086183fc86b659c3a2f92078f359a2b /puppet
parentc07e3d075149af0bbcd840ad0743df46d3baca5f (diff)
openvpn: allow for configurable keepalive (aka ping & ping-restart) closes https://leap.se/code/issues/4127
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_openvpn/manifests/server_config.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_openvpn/manifests/server_config.pp b/puppet/modules/site_openvpn/manifests/server_config.pp
index 6246a836..b1f4997c 100644
--- a/puppet/modules/site_openvpn/manifests/server_config.pp
+++ b/puppet/modules/site_openvpn/manifests/server_config.pp
@@ -115,7 +115,7 @@ define site_openvpn::server_config(
server => $openvpn_configname;
"keepalive ${openvpn_configname}":
key => 'keepalive',
- value => '5 20',
+ value => $config['keepalive'],
server => $openvpn_configname;
"local ${openvpn_configname}":
key => 'local',