Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
allow passwordless sudo
Browse files Browse the repository at this point in the history
dwradcliffe committed Feb 16, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent eed05d1 commit 97b0be9
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -310,7 +310,7 @@ GRAPH
motd (>= 0.0.0)
rubygems-ntp (0.0.3)
ntp (>= 0.0.0)
rubygems-people (0.0.34)
rubygems-people (0.0.35)
sudo (>= 0.0.0)
user (>= 0.0.0)
rubygems-redis (0.1.7)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-people/metadata.rb
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
maintainer 'RubyGems.org Ops Team'
license 'MIT'
description 'RubyGems user recipes'
version '0.0.34'
version '0.0.35'

depends 'user'
depends 'sudo'
1 change: 1 addition & 0 deletions cookbooks/rubygems-people/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@

node.default['authorization']['sudo']['groups'] = ['sysadmin']
node.default['authorization']['sudo']['include_sudoers_d'] = true
node.default['authorization']['sudo']['passwordless'] = true
include_recipe 'sudo'

sudo 'deploy' do

0 comments on commit 97b0be9

Please sign in to comment.