1 # DO NOT EDIT - This file is being maintained by Chef
 
   3 # Configuration File For Chef (chef-client)
 
   5 # The chef-client program will connect the local system to the specified
 
   6 # server URLs through a RESTful API to retrieve its configuration.
 
   8 # Force the default external encoding to UTF-8
 
  10 Encoding.default_external = Encoding::UTF_8
 
  12 # Load supporting code for report handlers
 
  14 require "/etc/chef/report"
 
  20 # Set the location of the log file
 
  22 log_location "/var/log/chef/client.log"
 
  24 # Verify SSL certificates
 
  26 ssl_verify_mode :verify_peer
 
  28 # Set the URL for the chef server
 
  30 chef_server_url "https://chef.openstreetmap.org"
 
  32 # Create report handler
 
  34 email_handler = Chef::Handler::Email.new(:to => "tom@compton.nu")
 
  36 # Configure report handlers
 
  38 exception_handlers << email_handler
 
  39 report_handlers << email_handler
 
  41 # Make our plugins visible to ohai
 
  43 Ohai::Config[:plugin_path] << "<%= node[:ohai][:plugin_dir] %>"