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

[master] Support master tops on masterless minions #65481

Merged
merged 3 commits into from Nov 17, 2023

Conversation

lkubb
Copy link
Contributor

@lkubb lkubb commented Oct 28, 2023

What does this PR do?

  • Renders master tops locally when opts["file_client"] == "local".
  • Adds sync_tops to the saltutil execution and state modules
  • Makes salt-ssh master tops behave like regular ones (merging returns for the same saltenv)

What issues does this PR fix or reference?

Fixes: #65479
Fixes: #65480
Fixes: #27930 (closed because stale)

Previous Behavior

  • master tops are ignored on masterless minions
  • multiple master tops override each other with salt-ssh if they return definitions for the same saltenv

New Behavior

  • master tops are provided as usual, both for masterless minions and salt-ssh

Merge requirements satisfied?

Commits signed with GPG?

Yes

Also, make salt-ssh master tops behave like regular ones, i.e. merge the
returns of multiple master top modules for the same environment.
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Support master tops on masterless minions [master] Support master tops on masterless minions Oct 28, 2023
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:26 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:26 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:29 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:29 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:29 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 20:29 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:02 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb temporarily deployed to ci October 28, 2023 22:32 — with GitHub Actions Inactive
@lkubb lkubb marked this pull request as ready for review October 28, 2023 23:06
@lkubb lkubb requested a review from a team as a code owner October 28, 2023 23:06
@lkubb lkubb requested review from felippeb and removed request for a team October 28, 2023 23:06
@s0undt3ch s0undt3ch merged commit d7338a0 into saltstack:master Nov 17, 2023
416 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants