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

Commit

Permalink
Enable client_fork and include chef-client::config
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 20, 2014
1 parent 118da9e commit bdd6fea
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@ GRAPH
rubygems-cache (0.0.1)
memcached (>= 0.0.0)
rubygems (>= 0.0.0)
rubygems-chef (0.0.5)
rubygems-chef (0.0.6)
chef-client (>= 0.0.0)
rubygems-database (0.0.20)
database (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-chef/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name 'rubygems-chef'
maintainer 'RubyGems.org ops team'

version '0.0.5'
version '0.0.6'

depends 'chef-client'

4 changes: 3 additions & 1 deletion cookbooks/rubygems-chef/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@
action :delete
end

node.default['chef_client']['config'] = { 'ssl_verify_mode' => ':verify_peer' }
node.default['chef_client']['config']['ssl_verify_mode'] = ':verify_peer'
node.default['chef_client']['config']['client_fork'] = true

include_recipe 'chef-client::config'
include_recipe 'chef-client'

0 comments on commit bdd6fea

Please sign in to comment.