Skip to content

Document Default Config Values #32400

Closed
Closed

Description

@rallytime

Not all of the available configuration options are documented for master and minion configs. The following config values are undocumented in either of the "Configuring the Salt Master/Minion" docs.

Some of these values are in the master or minion sample conf files, but we should ensure that these config options are documented in both places.

The following config values are undocumented in the above referenced pages, beginning with the 2015.5 branch:

  • auth_mode
  • auth_safemode
  • auth_timeout
  • auth_tries
  • cli_summary
  • conf_file
  • enable_lspci
  • event_return_queue
  • event_return_blacklist
  • event_return_whitelist
  • file_recv_max_size
  • fileserver_followsymlinks
  • fileserver_ignoresymlinks
  • fileserver_limit_traversal
  • gather_job_timeout
  • grains
  • grains_refresh_every
  • ioflo_console_logdir (deprecated)
  • ioflo_period (deprecated)
  • ioflo_realtime (deprecated)
  • ioflo_verbose (deprecated)
  • jinja_lstrip_blocks
  • jinja_trim_blocks
  • keysize
  • master_roots
  • max_event_size
  • mine_interval
  • minion_id_caching
  • modules_max_memory
  • outputter_dirs
  • permissive_pki_access
  • pillar_opts
  • pillar_safe_render_error
  • pillar_version
  • ping_interval
  • ping_on_rotate
  • preserve_minion_cache
  • pub_hwm
  • publish_session
  • queue_dirs
  • raet_alt_port (deprecated)
  • raet_clear_remotes (deprecated)
  • raet_main (deprecated)
  • raet_mutable (deprecated)
  • reactor
  • reactor_refresh_interval
  • reactor_worker_threads
  • reactor_worker_hwm
  • rejected_retry
  • search
  • search_index_interval
  • serial
  • show_jid
  • show_timeout
  • sign_pub_messages
  • sls_list
  • ssh_passwd
  • ssh_port
  • ssh_scan_ports
  • ssh_scan_timeout
  • ssh_sudo
  • ssh_timeout
  • ssh_user
  • sqlite_queue_dir
  • startup_states
  • sudo_acl
  • syndic_event_forward_timeout
  • syndic_finger
  • syndic_jid_forward_cache_hwm
  • syndic_max_event_process_time
  • syndic_wait
  • tcp_keepalive
  • tcp_keepalive_cnt
  • tcp_keepalive_idle
  • tcp_keepalive_intvl
  • top_file
  • utils_dirs
  • whitelist_modules
  • zmq_filtering

Configs new to the 2015.8 branch that need docs are:

  • bootstrap_delay
  • cluster_masters
  • cluster_mode
  • default_top
  • dummy_publisher (deprecated)
  • env_order
  • event_match_type
  • event_publisher_pub_hwm (deprecated)
  • http_max_body
  • http_request_timeout
  • job_cache_store_endtime
  • master_uri_format
  • pillar_cache
  • pillar_cache_backend
  • pillar_cache_ttl
  • raet_clear_remote_masters (deprecated)
  • raet_lane_bufcnt (deprecated)
  • raet_road_bufcnt (deprecated)
  • rest_timeout
  • salt_event_pub_hwm (deprecated)
  • ssh_identities_only
  • ssh_list_nodegroups
  • state_output_diff
  • tcp_master_pub_port
  • tcp_master_publish_pull
  • tcp_master_pull_port
  • tcp_master_workers
  • top_file_merging_strategy
  • winrepo_dir_ng - missing from minion.rst
  • winrepo_source_dir

Configs new to the 2016.3 branch that need docs are:

  • master_failback
  • master_failback_interval
  • master_tries
  • mine_enabled
  • mine_return_job
  • syndic_failover

FYI @jacobhammons

Activity

  1. added
    documentation
    bug
    severity-medium
    P1
    on Apr 6, 2016
  2. added this to the Approved milestone on Apr 6, 2016
  3. rallytime commented on Apr 7, 2016

    @rallytime
    ContributorAuthor

    In the 2015.8 branch, the gitfs_* and git_pillar_* config options are available in both the master and minion configs, however all of these configs are only documented in the "Configuring the Salt Master" doc, and not on the minion. This needs to be addressed as well. Refs #32397.

  4. cachedout commented on Apr 7, 2016

    @cachedout
    Contributor

    We should also write a test for this. It should be easy to just compare the keys of that config dict to a regex search of the master/minion config file.

  5. added
    needs-testcase
    on Apr 7, 2016
  6. DanyC97 commented on Apr 10, 2016

    @DanyC97

    extensive list, nice job @rallytime 👍

  7. stale commented on Nov 16, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

  8. 1 remaining item

  9. stale commented on Nov 16, 2018

    @stale

    Thank you for updating this issue. It is no longer marked as stale.

  10. sagetherage commented on Apr 24, 2020

    @sagetherage
    Contributor

    @barbaricyawps @ScriptAutomate this is in "Planning" vs. "Commit" for the Sodium project board, and tagging you 2 in case someone has time to look at this.

  11. added
    Magnesium
    and removed
    P1
    on May 27, 2020
  12. ScriptAutomate commented on Aug 1, 2020

    @ScriptAutomate
    Contributor

    I have opened a new ticket related to this that's about getting the minion/master configs and docs synced up: #58112

    The listed configuration values in this ticket, with unchecked boxes, still remain completely undocumented across both config files and the documentation files (except for event_match_type, which is in the master/minion conf files, but still needs to be in the documentation rst files in order to be checked off in this issue).

    For the long-term, some form of automation needs to be in place to catch when new config values are created that are yet to be documented properly.

  13. sagetherage commented on Aug 4, 2020

    @sagetherage
    Contributor

    Please refer to the latest ticket with auditing for more configs that have been added to complete this work - closing.

  14. removed
    Magnesium
    needs-testcase
    on Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugdocumentationseverity-medium

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions