Skip to content

Instantly share code, notes, and snippets.

@paulmooring
Created March 16, 2012 16:26
Show Gist options
  • Save paulmooring/2050873 to your computer and use it in GitHub Desktop.
Save paulmooring/2050873 to your computer and use it in GitHub Desktop.
Knife config
current_dir = File.dirname(__FILE__)
log_level :info
log_location STDOUT
node_name "user_name"
client_key "#{current_dir}/user_name.pem"
validation_client_name "chef-validator"
validation_key "#{current_dir}/chef-validator.pem"
chef_server_url "http://chef-server:4000"
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