Skip to content

Instantly share code, notes, and snippets.

@someara
Created November 1, 2010 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save someara/657414 to your computer and use it in GitHub Desktop.
Save someara/657414 to your computer and use it in GitHub Desktop.
knife.rb
log_level :info
log_location STDOUT
node_name 'chef-server/clients/something'
cache_type 'BasicFile'
cache_options( :path => "yourshithere/.chef/checksums" )
cookbook_path [ "yourshithere/cookbooks" ]
client_key '/create/on/chef-server-webui/something.pem'
chef_server_url "http://yourshithere:4000"
validation_key "/copy_from_chef_server/validation.pem"
# rackspacecloud
knife[:rackspace_api_key] = 'yourshithere'
knife[:rackspace_username] = 'yourshithere'
# slicehost
knife[:slicehost_password] = 'yourshithere'
# AFFS aws
knife[:aws_access_key_id] = 'yourshithere'
knife[:aws_secret_access_key] = 'yourshithere'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment