Skip to content

[DOCS] default master_type of str has no description #61963

Closed

Description

@bugfood

Description
Default master_type: str not documented. The fact that str is default is documented, but there is no explanation of what the str behavior is.

Suggested Fix
Please document what str does. This appears to mean "connect to all masters". I don't know what str is an abbreviation for.

Type of documentation
Salt documentation

Location or format of documentation
https://docs.saltproject.io/en/latest/ref/configuration/minion.html#master-type

Activity

  1. added
    documentation
    on Apr 18, 2022
  2. OrangeDog commented on Apr 19, 2022

    @OrangeDog
    Contributor

    str means the Python type str

    The type of the master variable

    These two parameters are documented poorly though. They should be together, with an example of both set for each type.

  3. added
    doc-ex-missing
    and removed on Apr 19, 2022
  4. added this to the Approved milestone on Apr 19, 2022
  5. bugfood commented on Apr 19, 2022

    @bugfood
    ContributorAuthor

    Yes, I don't think "The type of the [master] variable" corresponds to current behavior at all; the default is just set to str (the literal string) regardless of the variable type of master, and the other documented values of master_type are not python variable types. I'm rather confused here. :)

  6. added
    severity-medium
    help-wanted
    on May 2, 2022
  7. dwoz commented on Jul 1, 2026

    @dwoz
    Contributor

    Already documented on all supported branches (3006.x, 3007.x, 3008.x, master) by commit eb0bd49 ("docs(minion):: document master_type: str"). Current docs read: "If this option is str (default), multiple hot masters are configured. Minions can connect to multiple masters simultaneously (all master are hot)." Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-ex-missingdocumentationhelp-wantedseverity-mediumtime-estimate-single-day

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions