Skip to content

Commit

Permalink
Merge pull request #220 from szponek/fix-auth-tls-ovpn-profile-and-ld…
Browse files Browse the repository at this point in the history
…ap-auth-file-perms

Fix auth tls ovpn profile and ldap auth file perms
  • Loading branch information
luxflux authored Feb 13, 2017
2 parents af9b400 + 3db9c46 commit 9a0378c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@

concat::fragment { "${etc_directory}/openvpn/${server}/download-configs/${name}.ovpn/tls_auth_close_tag":
target => "${etc_directory}/openvpn/${server}/download-configs/${name}.ovpn",
content => "</tls-auth>\n",
content => "</tls-auth>\nkey-direction 1\n",
order => '13'
}
}
Expand Down
2 changes: 2 additions & 0 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@
file {
"${etc_directory}/openvpn/${name}/auth/ldap.conf":
ensure => present,
owner => root,
mode => '0400',
content => template('openvpn/ldap.erb'),
require => Package['openvpn-auth-ldap'],
}
Expand Down

0 comments on commit 9a0378c

Please sign in to comment.