Open herisanu opened 7 years ago
I see show_diff
in the 2016.3.3 docs. So, I don't think this is a good idea yet.
Also, backwards compatibility will need to be maintained for a long period of time.
Yeah, backwards compatibility will be an issue. Would you consider using jinja for this? Something along the lines of:
{{ users.show_diff }}: False
Where show_diff is set in defaults.yaml or map.jinja (with a grains filter on saltversion maybe) This will give me the option of throwing this in a pillar.
I would use a conditional that checks the salt version and uses the appropriate parameter. No pillar config required.
Yeah, right. Or that. Is it cool to send a PR with this?
I believe you should wait until there is a stable version of Salt that shows up in the docs with show_changes
.
But don't mind me. I don't actually use this formula. Edit: yet.
@herisanu Now is good time to do this. thx
Heh an issue from 2016 :). Let me re-read the formula and create a PR then.
Chuckle, our past comes back to haunt us sometimes
Let's change show_diff into show_changes: False
How to re-create: run formula on latest saltstack. Link to code: https://github.com/saltstack-formulas/users-formula/blob/master/users/init.sls#L180
Would you be ok with this change?