Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Correct a condition for deploy user
  • Loading branch information...
commit a834784bff8c215418f1ecb878f73adc8b28f8a1 2 parents 624892f + 39c99dc
Igor Afonov authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  cookbooks/maintenance/recipes/users.rb
2  cookbooks/maintenance/recipes/users.rb
@@ -31,7 +31,7 @@
31 31 owner username
32 32 group group
33 33 mode 0600
34   - only_if { !ssh_key.nil? || !ssh_key = '' }
  34 + only_if { ssh_key && ssh_key != '' }
35 35 end
36 36
37 37 file '/etc/sudoers.d/deploy_chef' do

0 comments on commit a834784

Please sign in to comment.
Something went wrong with that request. Please try again.