Chef Provisioning VSphere


#1

Hi All,
So I have a recipe that is using the chef-provisioning-sphere driver to stand a machine up, and in the same recipe I am calling the “machine_execute” resource and chef cannot resolve the provider. Very weird because if I use ssh provisioning on an already existing machine everything works fine.
This is what I am getting:

"Chef::Exception::ProviderNotFound
Cannot find a provider for machine_execute[x] on centos version 7.3.1611"

I am on chef-provisioning-vsphere v 2.0.6 , Chefdk v2.0.28. <- all the same gems versions from original install.

Has anyone experienced this issue , seems to only be when using the vsphere driver with “machine_execute”??