You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][DOCUMENTATION] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.) #59908
Is your feature request related to a problem? Please describe.
pre-commit needs to monitor the salt/config/__init__.py (and the conf/* files, and the conf rst files) for new opts/options added to Salt. There have been new options added at a pace faster than they've been documented. As a result, we have a mix of over 100 undocumented and underdocumented options for salt configs.
Before we start documenting everything that is undocumented/underdocumented, we need to prevent any new options from being added that aren't documented properly.
Describe the solution you'd like
Create a document with proper guidance on adding a new opt to Salt configs:
VALID_OPTS
DEFAULT_*_OPTS
etc.
pre-commit needs to monitor the salt/config/__init__.py (and the conf/* files, and the conf rst files)
Whenever a new opt appears in salt/config/__init__.py that differs from what is currently there, we need to verify that:
changed the title [-][FEATURE REQUEST] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/-][+][BUG][DOCUMENTATION] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/+]on Mar 26, 2021
Closing as part of a backlog cleanup — this issue was filed without a Salt versions-report, so there's no explicit version attached to compare against.
If you (or anyone else) can still reproduce this on 3008.3 or later, please comment with:
A fresh reproduction
The output of salt --versions-report
and the issue will be reopened. The original reporter can also reopen directly.
Activity
[-][FEATURE REQUEST] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/-][+][BUG][DOCUMENTATION] Prevent new config opts being added to Salt without minimum reqs (ex. docs, VALID_OPTS, etc.)[/+]9 remaining items
dwoz commentedon Oct 23, 2026
Closing as part of a backlog cleanup — this issue was filed without a Salt versions-report, so there's no explicit version attached to compare against.
If you (or anyone else) can still reproduce this on 3008.3 or later, please comment with:
salt --versions-reportand the issue will be reopened. The original reporter can also reopen directly.