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

Fix pillar include regression #52490

Merged
merged 9 commits into from Apr 17, 2019
Merged

Fix pillar include regression #52490

merged 9 commits into from Apr 17, 2019

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Apr 10, 2019

What does this PR do?

  • Fixes pillar include regression while preserving wildcard include functionality.
  • Adds regression tests for both.

Fixes #52134
Wild card include issue #22063

Previous Behavior

Including from multiple files stomped on pillar key

New Behavior

Fixes key stomping regression

Tests written?

Yes

Commits signed with GPG?

Yes

@dwoz dwoz requested a review from a team as a code owner April 10, 2019 20:59
@dwoz dwoz added the v2019.2.1 unsupported version label Apr 10, 2019
@waynew
Copy link
Contributor

waynew commented Apr 10, 2019

Hm... does this make https://github.com/saltstack/salt/pull/52008/files irrelevant? Or is this change for a different problem?

@dwoz
Copy link
Contributor Author

dwoz commented Apr 10, 2019

@waynew Looks like this is a separate issue. I think we should merge this change into your PR.

@waynew
Copy link
Contributor

waynew commented Apr 11, 2019

The thing I'm most concerned about is that this PR is removing the matched_pstates (or changing it to assignment rather than .extend)

@dwoz
Copy link
Contributor Author

dwoz commented Apr 11, 2019

@waynew okay, I'll take a look at it again.

@dwoz
Copy link
Contributor Author

dwoz commented Apr 11, 2019

@waynew I took a look at this again and everything still looks right to me. Is there a test we can write that would confirm there is or is not an issue? Or would you like me to merge this into your change so you can test it?

@dwoz
Copy link
Contributor Author

dwoz commented Apr 12, 2019

@waynew Since you're PR's (#52008) tests have passed I'll merge your changes then update my branch accordingly

Copy link
Contributor

@waynew waynew left a comment

Choose a reason for hiding this comment

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

👍

@dwoz dwoz merged commit 9faa49c into saltstack:2019.2 Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2019.2.1 unsupported version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants