Skip to content

Commit

Permalink
Merge pull request #108 from peterbeck/master
Browse files Browse the repository at this point in the history
added status-version parameter to server
  • Loading branch information
luxflux committed Oct 28, 2014
2 parents ec516f8 + 2fbe90b commit 669501c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
# String. Logfile for periodic dumps of the vpn service status
# Default: "${name}/openvpn-status.log"
#
# [*status_version*]
# Integer. Choose the status file format version number. Can be 1, 2 or 3 and defaults to 1
# Default: None (=1)
#
# [*server*]
# String. Network to assign client addresses out of
# Default: None. Required in tun mode, not in tap mode
Expand Down Expand Up @@ -322,6 +326,7 @@
$port = '1194',
$proto = 'tcp',
$status_log = "${name}/openvpn-status.log",
$status_version = '',
$server = '',
$server_ipv6 = '',
$server_bridge = '',
Expand Down
3 changes: 3 additions & 0 deletions templates/server.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ user <%= @user %>
log-append <%= @logfile %>
<% end -%>
status <%= @status_log %>
<% if @status_version != '' -%>
status-version <%= @status_version %>
<% end -%>
dev <%= @dev %>
<% if @local != '' -%>
local <%= @local %>
Expand Down

0 comments on commit 669501c

Please sign in to comment.