chef / chef/chef-cli

Generated cookbook generators produce errors when used.

Open
#22 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

Generated cookbook generators produce errors when used.

ChefDK Version

Chef Workstation version: 0.7.4

Platform Version

CentOS Linux release 7.6.1810 (Core)

Replication Case

Install Chef workstation on a new Centos 7.6 image.
Run chef generate generators
Generators are created and saved in /home/chef/code_generator
Add chefdk.generator_cookbook "/home/chef/code_generator" to /home/chef/.chef/config.rb
Run chef generate repo chef-repo

Errors occur as linked below.

Stacktrace

https://gist.github.com/drrk/9497a038d7c7a8f77a226d164bcd2ee9

NOTE: CHEFDK BUGS ONLY

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

Reproduce the report on Chef Workstation 0.7.4 with the listed CentOS 7.6 setup: run chef generate generators, configure /home/chef/.chef/config.rb, then run chef generate repo chef-repo. Read the linked stacktrace and generator output; done means the generated cookbook repository completes without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.