saltstack / saltstack/salt

[DOCS] The examples of states.ssh_auth use the parameter "names" but this parameter is never explained in the doc

Open
#61,587 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc-param-missing documentation severity-high time-estimate-sprint
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description
The examples of states.ssh_auth use the parameter "names" but this parameter is never explained in the doc.

Also, if the names parameter is used with a list of keys only the last one is added to the authorized_keys file.

So either the example is wrong or a description is missing.

Suggested Fix
Either rewrite the exmaples or include the names parameter in the state description.

Type of documentation
Salt documentation

Location or format of documentation
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.ssh_auth.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Salt states.ssh_auth documentation page linked in the issue and compare the examples with the state description. Verify how the names parameter behaves with multiple keys, then update the examples or description so its use is accurate and explicitly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.