saltstack/salt — pull request #2330 by anttix (2012-10-24 07:33:35+00:00)
Title: Fix three issues with homebrew module

Hi!

I have made three small corrections to the homebrew module.

1. Add standard arguments so pkg.install works from state files
2. Do not attempt to switch user with runas if minion is already running
under the same non-root user that was used to install homebrew
3. Support installations in a prefix different from /usr/local

Thank You!

Anttix.