Ohai Chefs!
We found a release blocking bug in ChefDK 1.2.17. We have patched this bug and have promoted v1.2.20 as our ChefDK v1.2 release candidate. The new release date will be Wednesday February 1, 2017.
Release Highlights
delivery CLI
- The
project.tomlfile, which can be used to execute local phases, now supports:- An optional
functionalphase. - New
remote_fileoption to specify a remote project.toml. - The ability to run stages (collection of phases).
- An optional
- Fixed bug where the generated
project.tomlfile didn’t include the prefixchef execfor some phases. - Project git remotes will now be updated automatically, if applicable, based on the values in the
cli.tomlor options provided through the command-line. - Project names specified in project config (
cli.toml) or options provided through the command-line will now be honored.
Policyfiles
- Added a
chef_serverdefault source option to Policyfiles.
[Workflow] Adopt new job dispatch system on cookbook generation
The chef generate cookbook command now defaults to using the configuration for the new job
dispatch system that replaces the previous push jobs based implementation with the SSH based
implementation. For more details on this new system and how to use it, see:
https://docs.chef.io/job_dispatch.html
FIPS (Windows and RHEL only)
- ChefDK now comes bundled with the Stunnel tool and the FIPS OpenSSL module for users who need to enforce FIPS compliance.
- Support for FIPS options in
deliveryCLI’scli.tomlwere added to handle communication with the Automate Server when FIPS mode is enabled.
Notable Updated Gems
- berkshelf 5.2.0 -> 5.5.0
- chef 12.17.44 -> 12.18.31
- chef-provisioning 2.0.2 -> 2.1.0
- chef-vault 2.9.0 -> 2.9.1
- chef-zero 5.1.0 -> 5.2.0
- cheffish 4.0.0 -> 4.1.0
- cookstyle 1.1.0 -> 1.2.0
- foodcritic 8.1.0 -> 8.2.0
- inspec 1.7.2 -> 1.10.0
- kitchen-dokken 1.0.9 -> 1.1.0
- kitchen-vagrant 0.21.1 -> 1.0.0
- knife-windows 1.7.1 -> 1.8.0
- mixlib-install 2.1.9 -> 2.1.10
- ohai 8.22.1 -> 8.23.0
- test-kitchen 1.14.2 -> 1.15.0
- train 0.22.0 -> 0.22.1
- winrm 2.1.0 -> 2.1.2
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 new mixlib-install command line utility available in ChefDK 0.19.6 or greater.
$ mixlib-install download chefdk -v 1.2.20 -c current
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 1.2.20 -c current
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -project chefdk -version 1.2.20 -channel current
If you want to give this version a spin in Test Kitchen, create or add the following to a .kitchen.local.yml file:
provisioner:
product_name: chefdk
channel: current
product_version: 1.2.20