added new var to template

git-svn-id: https://svn/ipuppet/trunk/modules/sshd@831 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
mh 2008-02-17 21:15:28 +00:00
parent 97766401f5
commit c140469f04
5 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ define sshd::sshd_config(
default => $source,
}
$real_allowed_users = $sshd_allowed_users ? {
$real_sshd_allowed_users = $sshd_allowed_users ? {
'' => 'root',
default => $sshd_allowed_users,
}

View file

@ -115,4 +115,4 @@ X11Forwarding no
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server
AllowUsers <%= allowed_users %>
AllowUsers <%= real_sshd_allowed_users %>

View file

@ -84,4 +84,4 @@ AllowTcpForwarding yes
ChallengeResponseAuthentication no
AllowUsers <%= allowed_users %>
AllowUsers <%= real_sshd_allowed_users %>

View file

@ -115,4 +115,4 @@ Subsystem sftp /usr/lib/misc/sftp-server
# AllowTcpForwarding no
# ForceCommand cvs server
AllowUsers <%= allowed_users %>
AllowUsers <%= real_sshd_allowed_users %>

View file

@ -93,7 +93,7 @@ PasswordAuthentication no
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
AllowUsers <%= allowed_users %>
AllowUsers <%= real_sshd_allowed_users %>
# Example of overriding settings on a per-user basis
#Match User anoncvs