RexOps / RexOps/Rex

Make create_user work when both ssh_key and create_home options are specified

Open
#492 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ready
Dominant language
Perl
Stars
737
Forks
214
PR merge metrics
No merged PRs in 30d

Description

Currently ssh_key option of create_user command requires the home option to be specifeid as well. It would be nice if Rex could support the case when home is not specified, but create_home is set to true, and would just autodetect the created account's home directory and deploy the specified key there.

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 create_user command implementation and trace how ssh_key, home, and create_home are currently handled. Add coverage for using ssh_key with create_home enabled and no home option, then verify that the key is deployed to the created account's detected home directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.