Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created December 3, 2014 15:54
Show Gist options
  • Select an option

  • Save jtimberman/f1096bcd40dba4ff5fb7 to your computer and use it in GitHub Desktop.

Select an option

Save jtimberman/f1096bcd40dba4ff5fb7 to your computer and use it in GitHub Desktop.
# Chef 11.18.0.rc.1
% /opt/chefdk/bin/chef-client -o home -z -l error
Starting Chef Client, version 11.18.0.rc.1
resolving cookbooks for run list: ["home"]
Synchronizing Cookbooks:
- home
Compiling Cookbooks...
[2014-12-03T08:52:10-07:00] ERROR: Your HOME is: /Users/jtimberman
# Chef 12.0.0.rc.0
% chef-client -o home -z -l error
Starting Chef Client, version 12.0.0.rc.0
resolving cookbooks for run list: ["home"]
Synchronizing Cookbooks:
- home
Compiling Cookbooks...
[2014-12-03T08:53:27-07:00] ERROR: Your HOME is: /Users/jtimberman
# cookbooks/home/recipes/default.rb:
Chef::Log.error("Your HOME is: " + ENV['HOME'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment