If you're using ChefDK and find you can't wait for the next release to come out (which will out be shortly), you might want to give the chefdk-update-app project a spin to update test-kitchen (follow the setup instructions in the README).
Upgrade test-kitchen with the following for Unix-based workstations:
sudo -E ./bin/chefdk-update-app.sh test-kitchen -r v1.4.0
For Windows-based workstations (from PowerShell):
& bin\chefdk-update-app.bat test-kitchen -r v1.4.0
If you want to spin up Windows instances, an additional gem is required called winrm-transport
. Don't worry if you forget this step, kitchen
command executed in a project with a Windows instance will halt with an error message reminding you to install this. For ChefDK, you can install this with:
chef gem install winrm-transport --version "~> 1.0"
There has also been a release of kitchen-vagrant
which you can upgrade to. To update the kitchen-vagrant
gem, simply run:
chef gem install kitchen-vagrant --version "~> 0.17" --minimal-deps