Content-Length: 513985 | pFad | https://github.com/saltstack/salt/pull/64434

35 [master] Fix 64433: Add dynamic loading of file_roots, pillar_roots, and thorium_roots by bluesliverx · Pull Request #64434 · saltstack/salt · GitHub
Skip to content

[master] Fix 64433: Add dynamic loading of file_roots, pillar_roots, and thorium_roots #64434

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

bluesliverx
Copy link
Contributor

What does this PR do?

Adds dynamic expansion of file/pillar/thorium roots config.

What issues does this PR fix or reference?

Fixes: #64433

Previous Behavior

The roots were expanded only once at startup.

New Behavior

The roots are expanded on every access of the environments within the file_roots, pillar_roots, and thorium_roots options.

Merge requirements satisfied?

Commits signed with GPG?

No

@bluesliverx bluesliverx requested a review from a team as a code owner June 6, 2023 23:22
@bluesliverx bluesliverx requested review from twangboy and removed request for a team June 6, 2023 23:22
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:38 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:38 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:38 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:39 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:55 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 01:58 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 02:53 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 7, 2023 03:01 — with GitHub Actions Inactive
@anilsil anilsil added this to the Chlorine v3007.0 milestone Jun 7, 2023
Copy link
Contributor

@Ch3LL Ch3LL left a comment

Choose a reason for hiding this comment

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

Can we get some additional test coverage that actually tests the full functionality. For example, adding a new directory path to file roots and being able to call that SLS file and same for pillar.

I'd like to also get some additional reviews on this.

@bluesliverx
Copy link
Contributor Author

@Ch3LL I have added tests and updated the documentation as requested. Let me know if you see anything else.

@bluesliverx bluesliverx temporarily deployed to ci June 11, 2023 16:13 — with GitHub Actions Inactive
@bluesliverx bluesliverx temporarily deployed to ci June 11, 2023 16:13 — with GitHub Actions Inactive
@bluesliverx
Copy link
Contributor Author

@twangboy, this is ready now I believe.

@bluesliverx
Copy link
Contributor Author

How does one go about getting this merged? :)

@twangboy
Copy link
Contributor

I'm thinking we'll get things fixed on 3006.x and 3007.x, then merge those forward into master. Then we can rebase and get this in.

@bluesliverx
Copy link
Contributor Author

@twangboy sorry to be annoying, any update on getting this merged in? Just curious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test:full Run the full test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Support dynamic expansion of file_roots and pillar_roots
6 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/saltstack/salt/pull/64434

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy