kitchen-docker
kitchen-docker copied to clipboard
chef-client cookbook now fails with this driver
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:
I got the same problem. It works with vagrant but not docker.