Skip to content
New issue

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

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

Already on GitHub? # to your account

chef-client cookbook no longer working with this driver #184

Closed
sam1el opened this issue Aug 6, 2019 · 3 comments
Closed

chef-client cookbook no longer working with this driver #184

sam1el opened this issue Aug 6, 2019 · 3 comments

Comments

@sam1el
Copy link

sam1el commented Aug 6, 2019

As of the latest Chef-workstation release. The chef-client cookbook fails to run when using this drive. I have also tested with the vagrant and dokken drivers. It will work with the vagrant driver. Below is the error I see.

/opt/kitchen/cache/cookbooks/chef-client/recipes/service.rb:

30: systemd
31: upstart
32: windows
33: )
34:
35: init_style = node['chef_client']['init_style']
36:
37>> raise "The init style specified at node['chef_client']['init_style'] is not supported by the chef-client cookbook. Supported values are: #{supported_init_styles.join(',')}." unless supported_init_styles.include?(init_style)
38:
39: include_recipe "chef-client::#{init_style}_service"
40:

@bmhughes
Copy link

bmhughes commented Nov 1, 2019

What OS and what is the pid_one_command option set to in the kitchen dokken config, I'm happily calling the chef-client cookbook with a variety of OSes without issue.

@sam1el
Copy link
Author

sam1el commented Nov 5, 2019

Was on windows 10 as the dev box and thel 6/7 for the kitchen suites. no pid_one_command was set. Never was before and wasnt aware it was required now

@marcparadise
Copy link
Contributor

This seems verified working as of the most recent Workstation releases. Please re-open this issue if you find this is occurring for you in a current/future version.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants