Skip to content

Commit

Permalink
Added 'cipher' option vor client config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor J. C. Geyer committed Jun 12, 2014
1 parent 5a96f8e commit ff40c31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/client.pp
Expand Up @@ -55,6 +55,10 @@
# String. The IP or hostname of the openvpn server service
# Default: FQDN
#
# [*cipher*]
# String, Cipher to use for packet encryption
# Default: None
#
# [*resolv_retry*]
# Integer/String. How many seconds should the openvpn client try to resolve
# the server's hostname
Expand Down Expand Up @@ -129,6 +133,7 @@
$auth_retry = 'none',
$verb = '3',
$pam = false,
$cipher = '',
$authuserpass = false,
) {

Expand Down
3 changes: 3 additions & 0 deletions templates/client.erb
Expand Up @@ -19,6 +19,9 @@ persist-key
<% if scope.lookupvar('persist_tun') -%>
persist-tun
<% end -%>
<% if scope.lookupvar('cipher') -%>
cipher <%= scope.lookupvar('cipher') %>
<% end %>
<% if scope.lookupvar('mute_replay_warnings') -%>
mute-replay-warnings
<% end -%>
Expand Down

0 comments on commit ff40c31

Please sign in to comment.