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

Change provisioner to chef-infra from chef-zero when using chef generate cookbook #2791

Open
snohio opened this issue May 20, 2022 · 0 comments
Labels
Status: Good First Issue An issue ready for a new contributor. Triage: Confirmed Indicates and issue has been confirmed as described.

Comments

@snohio
Copy link

snohio commented May 20, 2022

Describe the Enhancement:

Currently chef generate cookbook creates the kitchen.yml file with:

provisioner:
  name: chef_zero

chef_zero should be changed to chef_infra per the Chef Provisioner Documentation

It states:

Test Kitchen includes two provisioners for Chef Infra, chef_solo and chef_infra, that support similar options. chef_zero was renamed chef_infra in Test Kitchen 3.0. This change is backward-compatible, and both names work starting with Test Kitchen 3.0. In older releases, you will need to use chef_zero.

Describe the Need:

Users that are using new versions of Chef Workstation to generate cookbooks

Current Alternative

Leave it alone because it is backwards compatible or manually change it.

Can We Help You Implement This?:

Clone me? I'll see if I can take a look and find that bit of code as it should be an easy fix.

@snohio snohio added the Status: Untriaged An issue that has yet to be triaged. label May 20, 2022
@vkarve-chef vkarve-chef added Triage: Confirmed Indicates and issue has been confirmed as described. Status: Good First Issue An issue ready for a new contributor. and removed Status: Untriaged An issue that has yet to be triaged. labels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Good First Issue An issue ready for a new contributor. Triage: Confirmed Indicates and issue has been confirmed as described.
Projects
None yet
Development

No branches or pull requests

2 participants