Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Commit

Permalink
Add the updated knife configuration for using hosted chef
Browse files Browse the repository at this point in the history
Sam Kottler committed Mar 23, 2014
1 parent b288080 commit 7d9db8a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .chef/knife.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# knife[:provisioning_path] = '/var/cache/chef'

cookbook_path []
role_path 'chef/roles'
data_bag_path 'chef/data_bags'
current_dir = File.dirname(__FILE__)
log_level :info
log_location STDOUT
node_name ENV['RUBYGEMS_CHEF_USERNAME']
client_key "#{current_dir}/#{ENV['RUBYGEMS_CHEF_USERNAME']}.pem"
validation_client_name "rubygems-validator"
validation_key "#{current_dir}/rubygems-validator.pem"
chef_server_url "https://api.opscode.com/organizations/rubygems"
cache_type 'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path ["#{current_dir}/../cookbooks"]

0 comments on commit 7d9db8a

Please sign in to comment.