-
Notifications
You must be signed in to change notification settings - Fork 59
Add ability to use default homebrew install location by setting a custom fact. #51
Conversation
If the "use_default_homebrew" fact exists, the module will do the following: * Set homebrew directory to /usr/local * Remove custom boxen install commands * Set the provider to use standard install commands * Add a new custom "latest" command to homebrew to get the latest version of a package
Looks like travis failed for an unrelated reason relating to the gemfile... Can someone try rerunning it? |
@ssgelm I re-ran the specs for you. |
@tarebyte Thanks! Puppet lint issues fixed. 😄 |
Any progress on this? I would like to have homebrew install in its standard location 👍 |
This looks ok to me. @rafaelfranca @fromonesrc can I get a second opinion? |
Try to make it work on my Mac. I have 2 questions:
|
I tested this out on a new Boxen install and it worked fine. I created a release based off of the original branch and used
in my fwiw 👍 from me! |
I'm 👎 on this approach, but 👍 to the goal of having homebrew's install location configurable. Hardcoding any of these paths seems like a recipe for frustration. I'd much rather generalize the homebrew install directory, and be able to configure its install location with hiera (not facts). |
👍 to configurable over hardcoded. I'll give it a shot and see if I can open a diff PR with it working. |
To note, one of the great advantages of having the default install is bottles working properly. |
I'd love to see homebrew in /usr/local for all the precompiled bottles. I can't install encfs because it doesn't compile because of the non-standard location. It would be compiling in /usr/local (and I'd have a bottle too, anyway) 👍 |
This is now possible with the latest release, 1.11.2, along with the most recent release of puppet-boxen. After updating those two modules in your homebrew_root: /usr/local |
If the "use_default_homebrew" fact exists, the module will do the following:
This is desirable for many people as discussed at boxen/puppet-boxen#20.