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

salt-minion-py3.sls installing the same version over and over #1694

Open
Mukrosz opened this issue May 6, 2020 · 2 comments
Open

salt-minion-py3.sls installing the same version over and over #1694

Mukrosz opened this issue May 6, 2020 · 2 comments

Comments

@Mukrosz
Copy link

Mukrosz commented May 6, 2020

Hi there,

Thank you very much for the salt-minion-py3.sls. I am trying to incorporate into our company Salt upgrade process. I have Windows minion running version 3000 and 3000.1 that need to be upgraded to 3000.2.
Is it an expected behavior for Salt agent to reinstall itself even though the same version is already present?
This is how I run it:

salt '*' pkg.install salt-minion-py3 version=latest

Everytime I run it, the same version (latest 3000.2) gets uninstalled and reinstalled. I expect it to stop and not reinstall if the same version is present.

Thank you,

@Silvenga
Copy link

Silvenga commented Nov 6, 2020

Changing the version to the one that the installer registers does seem to work e.g.

30.2.1 == 3002.1
``

@xzenor
Copy link
Contributor

xzenor commented Dec 14, 2021

I'm gonna give this a kick because it's now happening again.
The 'actual' version of the current salt-minion is 3004-2 but it registers in windows as 3004, so it keeps trying to update to 3004-2

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

3 participants