-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 saltutil state to wrap saltutil.sync* modules #50197
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great idea. I like it.
Looks like one of these tests does need a fixup though. |
Corrected state and test |
@mchugh19 Are Also you may want to mention this state module here https://docs.saltstack.com/en/develop/topics/development/modules/#sync-via-the-saltutil-module (these docs were significantly improved in #50633). |
Nope! I think they are new and didn't exist at the time. So they can be added anytime. |
add saltutil state to wrap saltutil.sync* modules
What does this PR do?
Adds saltutil state to wrap the
saltutil.sync_*
modules.What issues does this PR fix or reference?
#45264
Previous Behavior
salutil.sync-*
was run in states viamodule.run
, and always ran and reported changesNew Behavior
new saltutil.sync_* states properly report if changes occured supporting on_changes
Tests written?
Yes