kitchen-docker icon indicating copy to clipboard operation
kitchen-docker copied to clipboard

chef-client cookbook now fails with this driver

Open sam1el opened this issue 5 years ago • 1 comments

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:

sam1el avatar Aug 06 '19 15:08 sam1el

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

poweic avatar Sep 26 '19 22:09 poweic