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

[2016.3] Fix when targeting via pillar with Salt syndic #39145

Merged
merged 1 commit into from Feb 2, 2017

Conversation

garethgreenaway
Copy link
Contributor

@garethgreenaway garethgreenaway commented Feb 2, 2017

What does this PR do?

Fixing a weird edge case when using salt syndics and targetting via pillar. Without this fix the master of masters ends up in an infinite loop since the data returned from the minions is differently structured than if a sync was not in use.

What issues does this PR fix or reference?

N/A

Previous Behavior

When using a Salt syndic setup and targeting minions by Pillar values from the master of masters, the process would end up in an infinite loop since the data returned from the minions was different than what the previous logic was expected.

New Behavior

Adds an additional case looking for empty return data to allow the processes to properly exit once the minions have returned.

Tests written?

No

Please review Salt's Contributing Guide for best practices.

…illar. Without this fix the master of masters ends up in an infinite loop since the data returned from the minions is differently structured than if a sync was not in use.
@garethgreenaway garethgreenaway changed the title Fix when targeting via pillar with Salt syndic [2016.3] Fix when targeting via pillar with Salt syndic Feb 2, 2017
@rallytime
Copy link
Contributor

Thanks @garethgreenaway!

@rallytime rallytime merged commit e78ca0f into saltstack:2016.3 Feb 2, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants