Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dmurphy18
Copy link
Contributor

What does this PR do?

Ensures that grains are sync'd before loading grains and then compiling pillar, since there could be custom grains used in pillar files, which will throw rendering errors if not found, when in masterless mode on a salt-minion

Rework of accidentally closed PR 65792

What issues does this PR fix or reference?

Fixes: #65027

Previous Behavior

Would throw rendering errors if custom grains in salt://_grains were used in pillar files, salt-minion in masterless mode.

New Behavior

No rendering errors thrown if custom grains in salt://_grains were used in pillar files, and custom grains values available in pillar, and salt-minion in masterless mode.

Additional tests to be written ensuring use with a salt-master is unaffected.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices, including the
PR Guidelines.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@dmurphy18 dmurphy18 self-assigned this Jul 23, 2024
@dmurphy18 dmurphy18 requested a review from a team as a code owner July 23, 2024 15:46
@dmurphy18 dmurphy18 added this to the Sulfur v3006.10 milestone Aug 14, 2024
@dmurphy18 dmurphy18 added the test:slow Enable Slow Tests label Aug 14, 2024
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 test:os:all Run Tests Against ALL OS'es test:pkg Run the package tests test:slow Enable Slow Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants