Skip to content

Instantly share code, notes, and snippets.

@Maniacal
Created November 22, 2013 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maniacal/7594788 to your computer and use it in GitHub Desktop.
Save Maniacal/7594788 to your computer and use it in GitHub Desktop.
cat > /etc/chef/client.rb <<'EOP'
log_level :auto
log_location "/var/log/chef/client.log"
chef_server_url "<%= @chef_config[:chef_server_url] %>"
validation_client_name "<%= @chef_config[:validation_client_name] %>"
node_name "<%= @config[:chef_node_name] %>"
environment "<%= @chef_config[:environment] %>"
http_proxy "<%= knife_config[:bootstrap_proxy] %>"
https_proxy "<%= knife_config[:bootstrap_proxy] %>"
...
<snip>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment