ChefDK 3.3.23 Released

Ohai Chefs!

We're happy to announce the release of ChefDK 3.3, including the latest version of Chef as well as new tools and security updates. Read on to learn more!

ChefDK 3.3 Release Notes

Chef 14.5.33

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

New Functionality

  • New option: chef update --exclude-deps for policyfiles will only update a cookbooks given on the command line.

Updated Tooling

ChefSpec

ChefSpec 7.3.2 greatly simplifies the syntax as well as allows testing of custom resources.
See the README and especially the section on testing custom resoures for examples of the new syntax.

Updated Components and Tools

  • chef-provisioning-aws: 3.0.4 -> 3.0.6
  • chef-vault: 3.3.0 -> 3.4.2
  • foodcritic: 14.0.0 -> 14.1.0
  • inspec: 2.2.70 -> 2.2.112
  • kitchen-inspec: 0.23.1 -> 0.24.0
  • kitchen-vagrant: 1.3.3 -> 1.3.4

Deprecations

  • chef generate app - Application repos were a pattern that didn't take off.
  • chef generate lwrp - Use chef generate resource. Every supported release of Chef knows about custom resources. Custom resources are awesome. No one should be writing new LWRPs any more. LWRPS are not awesome.

Please see the CHANGELOG for the complete list of changes.

Get the Build

As always, you can download binaries directly from downloads.chef.io or by using the mixlib-install :

$ mixlib-install download chef-dk -v 3.3.23

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

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

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

Cheers!
-Tyler