Open vchepkov opened 2 years ago
On related note, in several places provider uses Puppet.Err
in exception handling , which doesn't exist
This fork has added support for it: https://github.com/datty/puppet-homebrew-1
It really isn't. all resource providers expect brew in /usr/local there as well
Would you mind giving this a spin: https://github.com/TheKevJames/puppet-homebrew/pull/154
Hey folks -- just merged #155 which goes a bit towards fixing this issue. I think there's still a bit more to be done in #154; once both get merged I'll toss up a release with all these fixes.
I switched to git: https://github.com/michaelw/puppet-homebrew.git ref: 7b4e80a71f84553f48ae965c311e4843837420ce
And it works for me. would be nice to have a fact homebrew_prefix and an actual forge release
homebrew is installed under
/opt/homebrew
on M1 Macs https://github.com/Homebrew/install/blob/fdd70fc9706be79722c2fa5c579652003b010c01/install.sh#L117 module providers fail, since they expect brew in /usr/local I tried to add a link from /opt/homebrew to /usr/local, but brew throws warnings which mess up resource provider