chef / chef/chef-cli

`chef` supports command `chef client`

Open
#102 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Aspect: UX Status: Help Wanted
Dominant language
Ruby
Stars
18
Forks
23
Avg merge
5d 17h
Merged PRs (30d)
1

Description

When teaching a class an attendee typed in chef client. This happened after I showed them chef generate. I helped them find the correct command and we continued the training.

However, I thought about and it seems like it would be something that chef could also support. Calling out to the original chef-client and passing on any of the training arguments (ARGV.shift) to the command.

chef-client is often run with sudo so that would be a little different than the normal workflow but I think that this would make the tools seem more unified.

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 by locating the Ruby entry point for the chef command and reviewing how chef generate is dispatched. Determine how the proposed chef client invocation should forward training arguments to chef-client, including the different sudo workflow. Done means the command behavior and privilege expectations are defined and covered by appropriate CLI tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.