Skip to content

Commit

Permalink
Merge pull request #72 from BillWeiss/fix-pam-deprecation-warning
Browse files Browse the repository at this point in the history
Only warn about pam if it's used
  • Loading branch information
luxflux committed May 19, 2014
2 parents bc56894 + ca2d138 commit a234f5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@
$authuserpass = false,
) {

warning('Using $pam is deprecated. Use $authuserpass instead!')
if $pam {
warning('Using $pam is deprecated. Use $authuserpass instead!')
}

Openvpn::Server[$server] ->
Openvpn::Client[$name]
Expand Down

0 comments on commit a234f5c

Please sign in to comment.