Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated cookbook generators produce errors when used. #22

Open
drrk opened this issue Jul 22, 2019 · 3 comments
Open

Generated cookbook generators produce errors when used. #22

drrk opened this issue Jul 22, 2019 · 3 comments
Labels
Status: Help Wanted An issue that needs help from a contributor. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.

Comments

@drrk
Copy link

drrk commented Jul 22, 2019

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

@rottenbytes
Copy link

Hitting the same. looks like a regression since my last update of chef workstation

@tyler-ball tyler-ball transferred this issue from chef-boneyard/chef-dk Jul 22, 2019
@tyler-ball tyler-ball added Aspect: Correctness Status: Good First Issue An issue ready for a new contributor. Status: Help Wanted An issue that needs help from a contributor. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected. and removed Status: Good First Issue An issue ready for a new contributor. labels Jul 22, 2019
@afiune
Copy link

afiune commented Jul 29, 2019

Confirmed! To replicate run these two commands:

➜  chef generate generator foo
➜  chef generate repo chef-repo -g foo

@afiune
Copy link

afiune commented Feb 21, 2020

Related issue #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Help Wanted An issue that needs help from a contributor. Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

5 participants