Skip to content

Instantly share code, notes, and snippets.

@hjkp
Forked from bmizerany/etc_chef_client.rb
Created December 12, 2008 22:55
Show Gist options
  • Save hjkp/35315 to your computer and use it in GitHub Desktop.
Save hjkp/35315 to your computer and use it in GitHub Desktop.
#
# Chef Client Config File
#
# Will be overwritten
#
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"
#
# Chef Server Config File
#
# Dynamically generated by Chef - local modifications will be replaced
#
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"
cookbook_path [ "/var/chef/site-cookbooks", "/var/chef/cookbooks" ]
node_path "/var/chef/nodes"
openid_store_path "/var/chef/openid/store"
openid_cstore_path "/var/chef/openid/cstore"
merb_log_path "/var/log/chef-server.log"
search_index_path "/var/chef/search_index"
Chef::Log::Formatter.show_time = false
{ "recipes": [ "foo", "bar" ] }
blake:chef$ ./bin/chef-client
[Fri, 12 Dec 2008 13:18:36 -0800] INFO: Starting Chef Run
/Users/blake/.gems/gems/chef-0.0.1/lib/chef/file_store.rb:59:in `load': Cannot find /var/chef/file_store/registration/8/d15/blake-mizeranys-macbook-air_local for registration blake-mizeranys-macbook-air_local! (RuntimeError)
from /Users/blake/.gems/gems/chef-0.0.1/lib/chef/client.rb:159:in `register'
from /Users/blake/.gems/gems/chef-0.0.1/lib/chef/client.rb:63:in `run'
from ./bin/chef-client:88
blake:chef$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment