Skip to content

Instantly share code, notes, and snippets.

@hjkp
Created November 3, 2008 19:15
Show Gist options
  • Save hjkp/21954 to your computer and use it in GitHub Desktop.
Save hjkp/21954 to your computer and use it in GitHub Desktop.
#
# Cookbook Name:: chef
# Attribute File:: client.rb
#
require 'open_uri'
log_level :info
log_location STDOUT
file_store_path "/var/chef/file_store"
file_cache_path "/var/chef/cache"
ssl_verify_mode :verify_none
registration_url "http://127.0.0.1:4000"
openid_url "http://127.0.0.1:4001"
template_url "http://127.0.0.1:4000"
remotefile_url "http://127.0.0.1:4000"
search_url "http://127.0.0.1:4000"
node_name open("http://http://169.254.169.254/latest/meta-data/instance-id").gets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment