Skip to content

Instantly share code, notes, and snippets.

@mattray
Created November 2, 2012 17:18
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 mattray/4002873 to your computer and use it in GitHub Desktop.
Save mattray/4002873 to your computer and use it in GitHub Desktop.
current_dir = File.dirname(__FILE__)
log_level :info
log_location STDOUT
node_name "mray"
client_key "#{current_dir}/mray.pem"
validation_client_name "cs-demo-validator"
validation_key "#{current_dir}/cs-demo-validator.pem"
chef_server_url "https://api.opscode.com/organizations/cs-demo"
cache_type 'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path ["#{current_dir}/../cookbooks"]
# all your credentials are belong to us
# Rackspace Cloud
knife[:rackspace_api_username] = "#{ENV['RACKSPACE_USERNAME']}"
knife[:rackspace_api_key] = "#{ENV['RACKSPACE_API_KEY']}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment