docs: align users-groups example YAMLs with comment text#6865
Conversation
Examples 3 and 4 in the cc_users_groups module docs describe behavior (password-based login rejected, SSH access for the GitHub user TheRealFalcon and the Launchpad user falcojr) that the actual YAML examples didn't include. Add the missing lock_passwd and ssh_import_id fields so the rendered example matches the prose. Inline-array syntax for ssh_import_id matches the existing convention in cc_ssh_import_id/example1.yaml and cc_users_groups/example7.yaml. Fixes canonicalGH-6857
|
thank you for the submission @0xdeadd. I believe we already have a pull request in progress that is attempting to address this fix in #6858. If there is something else not covered in that pull request please feel free to comment on that PR instead. I'll close this PR in the meantime while we await resolution and merge of the prior PR. |
|
I had pondered as well about the "Password-based login is rejected" in example 3. I left it alone in my PR because the docs say it is So maybe this PR can be amended to build upon mine (that has now been merged) and simply add |
Proposed Commit Message
Summary
The example3 and example4 comments in
doc/module-docs/cc_users_groups/data.yamldescribe two behaviors that are missing from the corresponding YAML files:lock_passwd: truewas absentTheRealFalconand the Launchpad userfalcojrcan SSH asnewsuper" →ssh_import_idwas absentThis PR adds the two fields to both example3.yaml and example4.yaml so the rendered docs match the prose.
Test Plan
Checklist
Fixes #6857