Skip to content

Backport #49832 into 2018.3 - #52415

Merged
garethgreenaway merged 14 commits into
saltstack:2018.3from
Ch3LL:bp-49832
Apr 12, 2019
Merged

garethgreenaway merged 14 commits into
saltstack:2018.3from
Ch3LL:bp-49832

Conversation

@Ch3LL

@Ch3LL Ch3LL commented Apr 4, 2019

Copy link
Copy Markdown
Contributor

Backport #49832 into 2018.3

Since "pchanges" was never supported in the state compiler, and
"changes" is what these reqs always used, replacing "pchanges" with
"changes" will allow those requisites to work in test mode.
This allows for a state return dict to be repacked so that the top level
keys are the IDs, making it much easier to analyze and craft asserts
against the results.
this requisite passes a __prerequired__ kwarg so these need to support
**kwargs for that reason.

This also changes the comment for salt.function in test mode because
it's inaccurate and doesn't make sense.
@ghost

ghost commented Apr 4, 2019

Copy link
Copy Markdown

@Ch3LL, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ryan-lane and @tkwilliams to be potential reviewers.

@Ch3LL Ch3LL added the v2019.2.1 unsupported version label Apr 5, 2019
@garethgreenaway
garethgreenaway self-requested a review April 12, 2019 19:48
@garethgreenaway
garethgreenaway merged commit 7262ea9 into saltstack:2018.3 Apr 12, 2019
@Ch3LL Ch3LL added the bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch label Apr 17, 2019
@Ch3LL Ch3LL added Bugfix - [Done] back-ported and removed v2019.2.1 unsupported version bugfix-bckport will be be back-ported to an older release branch by creating a PR against that branch labels Apr 18, 2019
dwoz added a commit that referenced this pull request Apr 21, 2019
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.

3 participants