Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module doesn't support M1 installations #153

Open
vchepkov opened this issue Mar 31, 2022 · 6 comments
Open

module doesn't support M1 installations #153

vchepkov opened this issue Mar 31, 2022 · 6 comments

Comments

@vchepkov
Copy link

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

@vchepkov
Copy link
Author

On related note, in several places provider uses Puppet.Err in exception handling , which doesn't exist

@andrew-wils
Copy link

This fork has added support for it:
https://github.com/datty/puppet-homebrew-1

@vchepkov
Copy link
Author

vchepkov commented Apr 6, 2022

It really isn't. all resource providers expect brew in /usr/local there as well

@michaelw
Copy link

Would you mind giving this a spin: #154

@TheKevJames
Copy link
Owner

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.

@vchepkov
Copy link
Author

I switched to
git: https://github.com/michaelw/puppet-homebrew.git
ref: 7b4e80a

And it works for me. would be nice to have a fact homebrew_prefix and an actual forge release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants