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
20 # Set the location of the log file
22 log_location "/var/log/chef/client.log"
26 node_name "<%= node.name %>"
28 # Verify SSL certificates
30 ssl_verify_mode :verify_peer
32 # Set the URL for the chef server
34 chef_server_url "https://chef.openstreetmap.org/organizations/openstreetmap"
36 # Enable some optional ohai plugins
38 ohai.optional_plugins = %w[Passwd]
40 # Load supporting code for report handlers
42 require "/etc/chef/report"
44 # Create report handler
46 email_handler = Chef::Handler::Email.new(:to => ["tom@compton.nu", "openstreetmap@firefishy.com"])
48 # Configure report handlers
50 exception_handlers.delete_if { |h| h.is_a?(Chef::Handler::Email) } << email_handler
51 report_handlers.delete_if { |h| h.is_a?(Chef::Handler::Email) } << email_handler