-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[master] Allow Homebrew package manager in all systems but Windows #66609
base: master
Are you sure you want to change the base?
[master] Allow Homebrew package manager in all systems but Windows #66609
Conversation
4c49cdc
to
389dd3c
Compare
ping @dwoz, @s0undt3ch and @krionbsd |
I'm not sure how many people are using homebrew on Linux, but if you want to support Linux, you need to make sure all the homebrew tests run on Linux. The name of the file doesn't matter that much since the salt loader uses the Virtual Name ( |
OK! So, since historically Homebrew has been related to macOS, I think it can be OK to leave the package name as |
I've edited the test However, I'm not sure how to make brew available in those platforms so tests can be run. |
Brew would probably need to be added to the golden images for Linux |
OK, so I would need to modify at least one Linux base image to install Brew on it. Should I install Brew in all Linux images, or should I just pick one? |
Just pick one |
I have opened saltstack/salt-ci-images#1853 to install |
What does this PR do?
This PR removes the restriction for using mac_brew_pkg module only on macOS systems, since Homebrew can be run in Linux too: https://docs.brew.sh/Homebrew-on-Linux
I think that the module could be renamed to
brew_pkg
instead ofmac_brew_pkg
. But I need some help here to understand what changes are needed for this to be made.Merge requirements satisfied?
Commits signed with GPG?
Yes
Please review Salt's Contributing Guide for best practices, including the
PR Guidelines.
See GitHub's page on GPG signing for more information about signing commits with GPG.