Fix installing salt 3007 as stable or onedir #2000
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
When trying to install salt 3007 as onedir or stable specifying only the major (which means the latest minor in this major serie for salt 3005 and 3006), under debian ot ubuntu, salt-bootstrap fails because it looks for the repo signing key iin
minor/3007
instead of just3007
This PR fixes that behaviour and let you install salt 3007 major as onedir or stable
Previous Behavior
salt-bootstrap onedir 3007 fails on debian or ubuntu
New Behavior
salt-bootstrap onedir 3007 works on debian or ubuntu