Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@oeuftete
Copy link
Contributor

@oeuftete oeuftete commented Apr 8, 2020

What does this PR do?

Fixes compound matches with nodegroups.

What issues does this PR fix or reference?

Fixes #52678.

Tests written?

Yes, some old commented tests were restored.

Commits signed with GPG?

No

@oeuftete oeuftete requested a review from a team as a code owner April 8, 2020 23:28
@ghost ghost requested a review from twangboy April 8, 2020 23:28
@oeuftete oeuftete self-assigned this Apr 9, 2020
@oeuftete
Copy link
Contributor Author

oeuftete commented Apr 9, 2020

I need to investigate why the new test fails on Windows.

@oeuftete
Copy link
Contributor Author

oeuftete commented Apr 10, 2020

I need some help on how to fix the associated test here for Windows.

The functionality seems to work fine on Windows minions that are targeted from the master, or if I try something like salt windows-minion match.compound 'N@somegroup' (after adding the nodegroups config to the minion). Is the Windows test effectively testing this change as if it was running from a Windows master?

Edit: I think I sorted it out, bad quotes for Windows in the reinstated tests.

@oeuftete oeuftete force-pushed the fix-compound-nodegroups branch 2 times, most recently from 3937da0 to 4a0db9f Compare April 11, 2020 02:34
DmitryKuzmenko
DmitryKuzmenko previously approved these changes Apr 11, 2020
Copy link
Contributor

@DmitryKuzmenko DmitryKuzmenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dwoz dwoz merged commit d14c5f1 into saltstack:master Apr 18, 2020
@oeuftete oeuftete deleted the fix-compound-nodegroups branch April 18, 2020 11:49
@sagetherage sagetherage added the ZRelease-Sodium retired label label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ZRelease-Sodium retired label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compound targeting by nodegroup broken in 2019.2.0

5 participants