]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
and we need this now
authorStephen Gran <steve@lobefin.net>
Sun, 9 Oct 2011 19:45:52 +0000 (20:45 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 9 Oct 2011 19:45:52 +0000 (20:45 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ssh/templates/sshd_config.erb

index 6cf1f9cc17de05af3f2b9a677445eb51f2818dce..0bc6efb7d6b5c0461a0b538cdd55cdc38ecbde97 100644 (file)
@@ -76,6 +76,10 @@ AcceptEnv LANG LC_*
 Subsystem sftp /usr/lib/openssh/sftp-server
 
 UsePAM yes
+<% if nodeinfo.has_key?('wheezy') and nodeinfo['wheezy'] %>
+AuthorizedKeysFile /etc/ssh/userkeys/%u /var/lib/misc/userkeys/%u
+<% else %>
 AuthorizedKeysFile /etc/ssh/userkeys/%u
 AuthorizedKeysFile2 /var/lib/misc/userkeys/%u
+<% end %>
 PasswordAuthentication no