Repository navigation
Restore reclass ext_pillar adapter module (#69018) - #69338
Merged
Merged
Conversation
The salt.pillar.reclass_adapter module was removed when community extensions were purged from the tree, but it has shipped as a core ext_pillar since 2014 and is referenced from the current stable docs. Restore the module, a unit test, and its reference documentation so existing ext_pillar: - reclass: master configurations work again on 3008.x without downgrading to 3007. Fixes saltstack#69018
twangboy
approved these changes
Jun 19, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Restores
salt.pillar.reclass_adapter, theext_pillarinterface for thereclassinventory backend, which was dropped from the 3008 tree by thecommunity-extensions purge. Existing
ext_pillar: - reclass:master configswork again on 3008.x.
What issues does this PR fix or reference?
Fixes #69018
Previous Behavior
On 3008.0rc1 the salt-master logs
CRITICAL: ext_pillar interface named reclass is unavailableand thereclassext_pillar returns no data. Thedocumented module page also 404s on
latest. Workaround: downgrade to3007.14.
New Behavior
The module is reinstated as a core ext_pillar. The loader binds
ext_pillar: - reclass:to it via__virtualname__ = "reclass". Thesalt/utils/reclass.pyhelpers andsalt/tops/reclass_adapter.pythatwere already in the tree continue to work alongside it. Reference docs are
restored under
doc/ref/pillar/all/.Merge requirements satisfied?
Commits signed with GPG?
Yes