Closed amosshapira closed 6 years ago
So this seems to be annoyingly easy and really hard at the same time. To get it to use homebrew you can edit the params.pp file and change line 171 to read
Package { provider => 'homebrew' }
Problem is I can't think of an elegent way to let people set that value (so as to not change current functionality) as the params class doesn't take inputs and moving the entire case statement out of the params.pp seems a little extreme for a simple fix pull request.
Have a vague idea at a PR - https://github.com/voxpupuli/puppet-nodejs/pull/321
Cause either I need to do one to update the macports package name (its now nodejs6|7|8 or allow for homebrew...)
Fixed by #321
When using the module to install Node on OSX, I get the following errors:
I use Homebrew to install node on the system. I don't use Macports anywhere on our network. I need a way to tell the module to use Brew instead of Macports.