chef / chef/chef-cli

The generator prints out unwanted text and there's no way to change it

Open
#87 2 comments 0 reactions 1 assignee View on GitHub

@tas50 is already working on this.

Since Jun 5, 2020.

Status: Help Wanted Triage: Confirmed Type: Enhancement
Dominant language
Ruby
Stars
18
Forks
23
Avg merge
5d 17h
Merged PRs (30d)
1

Description

Description

I created a custom cookbook generator using the ChefDK and there is a message that prints out after you run the generator. The details of this message don't apply to my customized cookbooks but there is no way to configure it. I've copied the message output below. I'd like to be able to customize this output.

There are several commands you can run to get started locally developing and testing your cookbook.
Type `delivery local --help` to see a full list.

Why not start by writing a test? Tests for the default recipe are stored at:

test/recipes/default_test.rb

If you'd prefer to dive right in, the default recipe can be found at:

recipes/default.rb

ChefDK Version

Chef Development Kit Version: 1.0.3
chef-client version: 12.16.42
delivery version: master (83358fb62c0f711c70ad5a81030a6cae4017f103)
berks version: 5.2.0
kitchen version: 1.13.2

Platform Version

OS X El Capitan - 10.11.6 (15G1212)

Replication Case

chef generate cookbook <cookbook_name>

or

chef generate cookbook <cookbook_name> -g <path/to/custom/generator/>

  • The output is always generated, whether you use the built-in generator or a custom one.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.