Skip to content

Instantly share code, notes, and snippets.

@fnichol fnichol/
Last active Aug 29, 2015

What would you like to do?
Upgrade Test Kitchen to 1.4.0 in an existing ChefDK installation

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

Upgrade test-kitchen with the following for Unix-based workstations:

sudo -E ./bin/ test-kitchen -r v1.4.0

For Windows-based workstations (from PowerShell):

& bin\chefdk-update-app.bat test-kitchen -r v1.4.0

Install winrm-transport

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"

(Bonus) Install Current Version of kitchen-vagrant

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.