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 are deferred — they require a dedicated CLI/argparse cross-check pass and will be tracked separately under the EPIC.
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 |
|
We are no longer accepting bug fixes on the 3006.x branch. Please rebase against the 3008.x branch. |
|
@dwoz 3006.x has entered security only. Please rebase these changes on 3008.x |
|
Closing — 3006.x has entered security-only and this change doesn't apply or port cleanly to 3008.x. Reopen a fresh PR against 3008.x if you'd like to continue. |
Summary
Backport of #69550 to 3006.x. Documentation-only audit for EPIC #58112.
This PR fixes the user-facing documentation for 15 of the 21 enumerated
config-audit issues, plus closes 2 already resolved.
See #69550 for the full table of issues, fixes, and rationale.
Test plan
make -C doc htmlcleanmake -C doc mancleanpytest tests/pytests/unit/config/test_docs_consistency.py→ 28 passpre-commit run --files <changed files>clean