ChefDK 2.5 Released!


#1

Ohai Chefs!

We’re happy to announce the release of ChefDK v2.5 with a pile of new testing tools!

Release Highlights

Rename smoke tests to integration tests.

The cookbook, recipe, and app generators now name the test directory integration instead of smoke. This will not impact existing cookbooks generated with older releases of ChefDK, but does simplify the .kitchen.yml for all new cookbooks.

Chef 13.8.5

ChefDK now ships with Chef 13.8.5. See https://docs.chef.io/release_notes.html for more information on what’s new.

Updated chef_version in chef generate cookbook

When running chef generate cookbook the generated cookbook will now specify a minimum chef release of 12.14 not 12.1.

Security Updates

Ruby

Ruby has been updated to 2.4.3 to resolve CVE-2017-17405

OpenSSL

OpenSSL has been updated to 1.0.2n to resolve CVE-2017-3738, CVE-2017-3737, CVE-2017-3736, and CVE-2017-3735.

LibXML2

LibXML2 has been updated to 2.9.7 to fix CVE-2017-15412

minitar

minitar has been updated to 0.6.1 to resolve CVE-2016-10173

Updated Components

  • chefspec 7.1.1 -> 7.1.2
  • chef-api 0.7.1 -> 0.8.0
  • chef-provisioning 2.6.0 -> 2.7.0
  • chef-provisioning-aws 3.0.0 -> 3.0.2
  • chef-sugar 3.6.0 -> 4.0.0
  • foodcritic 12.2.1 -> 12.3.0
  • inspec 1.45.13 -> 1.51.21
  • kitchen-dokken 2.6.5 -> 2.6.7
  • kitchen-ec2 1.3.2 -> 2.2.1
  • kitchen-inspec 0.20.0 -> 0.23.1
  • kitchen-vagrant 1.2.1 -> 1.3.1
  • knife-ec2 0.16.0 -> 0.17.0
  • knife-windows 1.9.0 -> 1.9.1
  • test-kitchen 1.19.2 -> 1.20.0
  • chef-provisioning-azure has been removed as it used deprecated Azure APIs

Get the Build

As always, you can download binaries directly from downloads.chef.io or by using the new mixlib-install command line utility available in ChefDK 0.19.6 or greater.

$ mixlib-install download chefdk -v 2.5.3

Alternatively, you can install ChefDK using one of the following command options:

# In Shell
$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chefdk -v 2.5.3

# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chefdk -version 2.5.3

-Tim