Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11 from dmitriy-kiriyenko/patch-7

Improve sudoers file for user deploy
  • Loading branch information...
commit 4024df38ddf0f85f76c00a7aa6af74b39691d05d 2 parents 1aa5663 + c76c5dc
@iafonov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cookbooks/maintenance/recipes/users.rb
View
2  cookbooks/maintenance/recipes/users.rb
@@ -40,6 +40,6 @@
mode 0440
content <<-EOS
Defaults env_keep = "SSH_AUTH_SOCK"
- #{username} ALL= NOPASSWD: /usr/local/bin/chef-client
+ #{username} ALL= NOPASSWD: #{`which chef-client`.chomp}
EOS
end
Please sign in to comment.
Something went wrong with that request. Please try again.