Permalink
Browse files

Merge pull request #10 from dmitriy-kiriyenko/patch-6

Correct a condition for deploy user
  • Loading branch information...
2 parents 624892f + 39c99dc commit a834784bff8c215418f1ecb878f73adc8b28f8a1 @iafonov committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbooks/maintenance/recipes/users.rb
@@ -31,7 +31,7 @@
owner username
group group
mode 0600
- only_if { !ssh_key.nil? || !ssh_key = '' }
+ only_if { ssh_key && ssh_key != '' }
end
file '/etc/sudoers.d/deploy_chef' do

0 comments on commit a834784

Please sign in to comment.