Skip to content

Refresh __salt__ dunder on pip state changes#56867

Merged
dwoz merged 1 commit into
saltstack:masterfrom
terminalmage:refresh-modules-pip-states
Apr 23, 2020
Merged

Refresh __salt__ dunder on pip state changes#56867
dwoz merged 1 commit into
saltstack:masterfrom
terminalmage:refresh-modules-pip-states

Conversation

@terminalmage

@terminalmage terminalmage commented Apr 23, 2020

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds "pip" to the tuple of state types that trigger a __salt__ dunder refresh when the state has changes.

What issues does this PR fix or reference?

See #56669 (comment)

Previous Behavior

pip states required a reload_modules: True in order to enable modules/states that require them.

New Behavior

reload_modules no longer needed

Merge requirements satisfied?

  • Docs
  • Changelog
  • Tests written/updated

Commits signed with GPG?

No

@terminalmage
terminalmage requested a review from a team as a code owner April 23, 2020 18:09
@ghost
ghost requested review from dwoz and removed request for a team April 23, 2020 18:09
@OrangeDog

Copy link
Copy Markdown
Contributor

When this said refresh_modules it meant reload_modules, right?

@terminalmage

Copy link
Copy Markdown
Contributor Author

Correct. I've updated the initial PR message above. Thanks.

@terminalmage
terminalmage deleted the refresh-modules-pip-states branch February 13, 2024 00:12
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.

4 participants