Repository navigation
Conversation
Documentation-only fixes for configuration options the user-facing docs either missed entirely or described incorrectly. Each fix is exercised by a dedicated assertion in tests/pytests/unit/config/test_docs_consistency.py so regressions surface in CI rather than on the docs site. Issues closed by this commit: * Refs saltstack#58112 (EPIC tracking the audit) * Refs saltstack#59910 fips_mode now has rst directives and example-config entries on both master and minion sides * Refs saltstack#58891 event_match_type is now documented for both daemons, with the five valid values (startswith / endswith / find / regex / fnmatch) spelled out * Refs saltstack#66587 state_top_saltenv is now described as a saltenv *fallback* that only applies when the minion does not set saltenv * Refs saltstack#66533 retry_dns and acceptance_wait_time now describe the multi-master / failover behavior where acceptance_wait_time is reused as the DNS-retry wait * Refs saltstack#65866 grains.fqdns docstring lists the platforms (Windows / proxy / SunOS / AIX / Junos / macOS) on which enable_fqdns_grains defaults to False * Refs saltstack#58893 Removed the stale "XXX: Remove key_logfile support in 2014.1.0" comment and documented key_logfile on both daemons * Refs saltstack#60732 salt.states.schedule now has a worked example combining cron with splay and explains why you want both * Refs saltstack#60630 salt.states.timezone module docstring no longer contradicts itself about utc=True being the default * Refs saltstack#61963 master_type: str now has a real behavior description (multi-master "hot" topology) * Refs saltstack#60965 worker_threads docs call out syndic-driven load and note that low CPU is not a reliable saturation signal here * Refs saltstack#61293 http_connect_timeout and http_request_timeout are distinguished (handshake vs. entire request) and the master side now redirects user-facing fetch tuning to the minion * Refs saltstack#57416 ssh_priv is documented in master.rst and conf/master * Refs saltstack#69109 retry_dns block now mentions the CRITICAL log message that fires when retry_dns != 0 with master_type: failover * Refs saltstack#66270 Documented default for request_channel_timeout corrected from 30 to 60 (matches DEFAULT_MINION_OPTS) * Refs saltstack#66884 log_granular_levels example now uses %(name)s (the fully qualified logger name) instead of %(module)s (short name) * Refs saltstack#63109 salt-key rst documents --include-accepted, --include-rejected, and --include-denied, and marks --include-all deprecated; the same content propagates to the generated man page The following two issues from the EPIC are already addressed in current sources and need no code change: * Refs saltstack#56545 fileserver_limit_traversal has been fully removed * Refs saltstack#50348 use_superseded is now documented in salt.states.module with the 3005 deprecation note saltstack#60677 (full audit of salt --help vs man) and saltstack#56214 (CLI doc outdated) are deferred — they require a dedicated CLI/argparse cross-check pass and will be tracked separately under the EPIC.
This was referenced Jun 25, 2026
Contributor
Author
Verifier report (self-review)Ran the embedded test suite + Sphinx HTML + Sphinx man builds on every Per-branch quality gates:
Per-claim grading: 27 VERIFIED-BY-TEST, 11 VERIFIED-BY-CITE, Full table at agents/reports/docs-pr2-config-audit/verifier-report.md in |
Contributor
Author
|
Consolidating to oldest applicable branch PR #69553; bulk merge-forward will propagate. Closing this PR. |
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.
Summary
Documentation-only audit for the configuration-options EPIC (#58112).
This PR fixes the user-facing documentation for 15 of the 21 enumerated
config-audit issues, plus closes 2 that are already resolved in current
sources, plus defers 1 (full CLI parser/man audit) and 1 (CLI-doc-outdated
subsumed by #60677).
Issues addressed
fips_modeundocumentedevent_match_typenot in rststate_top_saltenvdescription misleadingall/garbagenotedTest plan
A new module
tests/pytests/unit/config/test_docs_consistency.pycontains 28focused assertions covering every claim above. The test reads the source
files of record (
salt/config/__init__.py,conf/master,conf/minion,doc/ref/configuration/*.rst,doc/ref/cli/salt-key.rst,salt/grains/core.py,salt/states/{schedule,timezone}.py) and assertseach fact textually — so a future regression on any one issue surfaces in
CI as a specific test failure.
make -C doc htmlcleanmake -C doc manclean (salt-key.1 contains the new --include-* flags)pytest tests/pytests/unit/config/test_docs_consistency.py→ 28 passpre-commit run --files <changed files>clean