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

add saltutil state to wrap saltutil.sync* modules #50197

Merged
merged 4 commits into from
Oct 30, 2018

Conversation

mchugh19
Copy link
Contributor

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 via module.run, and always ran and reported changes

New Behavior

new saltutil.sync_* states properly report if changes occured supporting on_changes

Tests written?

Yes

@mchugh19 mchugh19 changed the title add individual syncers and release note add saltutil state to wrap saltutil.sync* modules Oct 24, 2018
Copy link
Contributor

@cachedout cachedout left a 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.

@cachedout
Copy link
Contributor

Looks like one of these tests does need a fixup though.

@mchugh19
Copy link
Contributor Author

Corrected state and test

@rallytime rallytime merged commit 686fa69 into saltstack:develop Oct 30, 2018
@max-arnold
Copy link
Contributor

@mchugh19 Are sync_matchers and sync_serializers intentionally missing from the state module?

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).

@mchugh19
Copy link
Contributor Author

Nope! I think they are new and didn't exist at the time. So they can be added anytime.

@mchugh19 mchugh19 deleted the saltutil-state branch July 4, 2019 14:23
mchugh19 pushed a commit to mchugh19/salt that referenced this pull request Oct 13, 2019
add saltutil state to wrap saltutil.sync* modules
@waynew waynew added the has master-port port to master has been created label Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has master-port port to master has been created
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants