I seem to have come across an issue with Test Kitchen in which it seems to
assume the location of the chef-client executable is in
/opt/chef/bin/chef-client despite setting the provisioner value
"chef_omnibus_root: false" - I dug around in the test-kitchen code a bit,
but its not completely apparent to me how and where this path is getting
set. Is there a way to override this?
Try setting ruby_bindir: ‘/path/to/folder/containing/chef/client’ in your
provisioner section to tell it where to find the chef binary. I haven’t
tested it with chef but I would expect it works (seems to be a setting in
the main testkitchen code).
I seem to have come across an issue with Test Kitchen in which it seems to
assume the location of the chef-client executable is in
/opt/chef/bin/chef-client despite setting the provisioner value
"chef_omnibus_root: false" - I dug around in the test-kitchen code a bit,
but its not completely apparent to me how and where this path is getting
set. Is there a way to override this?
I seem to have come across an issue with Test Kitchen in which it seems to assume the location of the chef-client executable is in /opt/chef/bin/chef-client despite setting the provisioner value “chef_omnibus_root: false” - I dug around in the test-kitchen code a bit, but its not completely apparent to me how and where this path is getting set. Is there a way to override this?