Skip to content

Instantly share code, notes, and snippets.

@aflatter
Created January 21, 2009 20:05
Show Gist options
  • Save aflatter/50160 to your computer and use it in GitHub Desktop.
Save aflatter/50160 to your computer and use it in GitHub Desktop.
#
# Chef Client Config File
#
log_level :info
log_location STDOUT
ssl_verify_mode :verify_none
registration_url "http://localhost:4000"
openid_url "http://localhost:4001"
template_url "http://localhost:4000"
remotefile_url "http://localhost:4000"
search_url "http://localhost:4000"
##########################
# Chef Repository Layout #
##########################
# Where to find upstream cookbooks
COOKBOOK_PATH = "/var/chef/cookbooks"
# Where to find site-local modifications to upstream cookbooks
SITE_COOKBOOK_PATH = "/var/chef/site-cookbooks"
# Chef Config Path
CHEF_CONFIG_PATH = "/etc/chef"
# The location of the Chef Server Config file (on the server)
CHEF_SERVER_CONFIG = File.join(CHEF_CONFIG_PATH, "server.rb")
# The location of the Chef Client Config file (on the client)
CHEF_CLIENT_CONFIG = File.join(CHEF_CONFIG_PATH, "client.rb")
###
# Useful Extras (which you probably don't need to change)
###
# The top of the repository checkout
TOPDIR = File.expand_path(File.join(File.dirname(__FILE__), ".."))
# Where to store certificates generated with ssl_cert
CADIR = File.expand_path(File.join(TOPDIR, "certificates"))
#
# Chef Server Config File
#
log_level :info
log_location STDOUT
ssl_verify_mode :verify_none
registration_url "http://localhost:4000"
openid_url "http://localhost:4001"
template_url "http://localhost:4000"
remotefile_url "http://localhost:4000"
search_url "http://localhost:4000"
cookbook_path [ "/var/chef/site-cookbooks", "/var/chef/cookbooks" ]
merb_log_path "/var/log/chef-server-merb.log"
Chef::Log::Formatter.show_time = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment