opscode-cookbooks/homebrew — pull request #19 by walkah (2013-10-16 20:30:30+00:00)
Title: [COOK-3825] homebrew_package needs $HOME set

When running chef solo/client as root, brew package doesn't get the $HOME environment variable - which means package installs fail when trying to log.

See this gist for error output: https://gist.github.com/walkah/d56d4b52ef893a36aa61

This PR explicitly sets $HOME for homebrew_owner during shell_out.