Skip to content

Commit

Permalink
Updated home path
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvanderbyl committed Jun 24, 2011
1 parent beef1c9 commit 50b641a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chef-user.rb
Expand Up @@ -47,7 +47,7 @@ def group
def ssh_dir
"/home/#{var(:username, :default => 'chef')}" / '.ssh'
end
met? { grep /^ssh-dss/, ssh_dir + '/id_rsa.pub' }
met? { grep /^ssh-rsa/, ssh_dir + '/id_rsa.pub' }
meet {
log shell("ssh-keygen -t rsa -f #{ssh_dir}/id_rsa -N ''", :sudo => true, :as => var(:username))
}
Expand Down

0 comments on commit 50b641a

Please sign in to comment.