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

chef-client cookbook now fails with this driver #344

Open
sam1el opened this issue Aug 6, 2019 · 1 comment
Open

chef-client cookbook now fails with this driver #344

sam1el opened this issue Aug 6, 2019 · 1 comment

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.

Relevant File Content:

/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:

@poweic
Copy link
Contributor

poweic commented Sep 26, 2019

I got the same problem. It works with vagrant but not docker.

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

No branches or pull requests

2 participants