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

Add support for the -R flag on macOS. #1871

Merged
merged 3 commits into from
Dec 7, 2022

Conversation

pjcreath
Copy link
Contributor

What does this PR do?

Allows macOS to bootstrap from alternate repos.

What issues does this PR fix or reference?

Fixes #1870

Previous Behavior

sudo sh bootstrap-salt.sh -R archive.repo.saltproject.io -D stable 3004

 *  INFO: Running install_macosx_stable_deps()
 *  INFO: Running install_macosx_stable()
 * ERROR: https://repo.saltproject.io/osx/salt-3004-py3-x86_64.pkg failed to download to /tmp/salt-3004-py3-x86_64.pkg
 * ERROR: Failed to run install_macosx_stable()!!!

New Behavior

sudo sh bootstrap-salt.sh -R archive.repo.saltproject.io -D stable 3004

 *  INFO: Running install_macosx_stable_deps()
 *  INFO: Running install_macosx_stable()
installer: Package name is Salt 3004 (Python 3)
installer: Upgrading at base path /
installer: The upgrade was successful.

@garethgreenaway garethgreenaway merged commit 36fc77d into saltstack:develop Dec 7, 2022
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

Successfully merging this pull request may close these issues.

Can't bootstrap archived versions on macOS
2 participants