-
Notifications
You must be signed in to change notification settings - Fork 419
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 state does not run on pre 2017.7.0 minions due to pillar.filter_by #405
Comments
diff --git a/salt/osfamilymap.yaml b/salt/osfamilymap.yaml {% import_yaml "salt/ospyvermap.yaml" as ospyvermap %} {% set osrelease = salt'grains.get' %} {% import_yaml "salt/ospyvermap.yaml" as ospyvermap %} {% set osrelease = salt'grains.get' %} |
@gizahNL You're absolutely right, looking at the commit, the earliest version supported is
@gizahNL Would you be happy to prepare the PR for this change and the PR to revert this in 2 months time? |
@gizahNL OK, just had a significant update from upstream in our Slack/IRC/Matrix room. The discussion starting from here:
Essentially, this issue is invalid. I'll leave it open for now for any remaining discussion. |
I was under the impression 2016.11 would still be supported, no problem though, the patch I wrote is simple (though of course less elegant than a online pillar.filter_by) and should be easy enough to rebase for me if and when we need to pull changes in from here. |
@gizahNL I wouldn't bother with the PR now, since there's no reason to make the change! In terms of documentation, there's work being done to find a better way of explaining these sorts of things. Particularly issues that affect all formulas. In the meantime, PRs improving the documentation are welcome, with important contributions getting promoted to the new documentation when it arrives. Thanks for raising this issue in the first place. |
@gizahNL Are you OK with this being closed? |
Hi, thank you for all the details @myii much appreciated ! I have to say, I would consider it normal for any other forumlas ... I do think it makes sense however for this precise formula to support older (supported) versions of salt since it's probably gonna be used to upgrade it anyway. At least in our case we make sure whatever minions comes in have same version of salt-minion installed, without having to alter default distro repos during boostrap ( which saves a lot of time on templating ). It's no big deal we can keep a fork, just my 2ct that this repo is probably used as a bootstrap repo as well :) |
@gboddin Thanks for transferring here and closing the duplicate issue. You raise some decent points and I'd like to draw in some other opinions about the right way to approach this. @gizahNL Please ignore my comment above about closing this issue, this needs to be discussed more widely. @aboe76 @javierbertoli The general agreement for supporting older versions of Salt is to mirror upstream Salt, which is |
A bit of copy paste from the ubuntu side :
The 14.04 LTS of ubuntu ends this month so we can forget 0.17, but 16.04 ( ending 2021 ) is still 2015.8, thanks for considering, I will invest a bit of time to work on this and maybe add test cases to check for salt upgrades . |
@gboddin There is a reason ubuntu put those packages in Universe...those are community maintained versions... not officially maintained by Ubuntu. So these could be swapped by the repo's supported by saltstack and thus upgraded to a version saltstack supports. |
pillar.filter_by was introduced in 2017.7.0, since 2016.11 is still in support the formula should not have hard dependencies on functionality that is not there.
The text was updated successfully, but these errors were encountered: