Created
August 15, 2011 22:44
-
-
Save jhulten/1148074 to your computer and use it in GitHub Desktop.
general knife.rb for a repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
current_dir = File.dirname(__FILE__) | |
ORG = "my_hosted_chef_org" | |
log_level :info | |
log_location STDOUT | |
node_name "#{ENV['USER']}" | |
client_key "#{current_dir}/#{ENV['USER']}.pem" | |
validation_client_name "#{ORG}-validator" | |
validation_key "#{current_dir}/#{ORG}-validator.pem" | |
chef_server_url "https://api.opscode.com/organizations/#{ORG}" | |
cache_type 'BasicFile' | |
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" ) | |
cookbook_path ["#{current_dir}/../cookbooks"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment