We are delighted to announce the availability of version 21.1.222 of Chef Workstation.
Chef Infra Client has been updated to 16.9 with the following improvements to the
knife bootstrapcommand now properly formats the
trusted_certs_dirconfiguration value on Windows hosts. Thanks for this fix @axelrtgs!
knife bootstrapcommand now only specifies the ssh option
-o IdentitiesOnly=yesif keys are present. Thanks for this fix @drbrain!
knife statuscommand with the
-F jsonflag no longer fails if cloud nodes have no public IP.
Chef InSpec has been updated from 4.24.8 to 4.24.26. This release includes several behind-the-scenes updates as well as a few useful resource updates:
parse_configresource now accepts
]characters, which allows access to settings that contain dots. Thanks @rgeissert! (#5252)
mssql_sessionresource expands its platform support to include macOS and Linux since the
sqlcmdutility is now available on those platforms. Thanks @kclinden! (#5366)
chef report command in the Chef Upgrade Lab has been updated to work with the latest releases of Cookstyle.
Cookstyle has been updated from 7.3 to 7.5. This new release updates the RuboCop engine that powers Cookstyle in order to improve detection and autocorrect of Ruby code. The new release also offers several improvements to existing Chef Infra cops:
Chef/RedundantCode/UnnecessaryNamePropertyhas been improved to detect additional cases where an unnecessary name property is defined in a resource.
- Trailing whitespace in files is once again detected by enabling the renamed
Layout/TrailingEmptyLinescop. Thanks for reporting this issue @mvangoor!
Chef/Deprecations/DeprecatedChefSpecPlatformcop has been updated to detect newly deprecated platforms in Fauxhai when used in ChefSpec tests.
Missing dependency errors running ChefSpec tests have been resolved. Thanks for the report @y0y0z!
Test Kitchen has been updated from 2.8.0 to 2.9.0. This new release improves connecting to Windows hosts over WinRM from Linux systems. Connections are now made using
xfreerdp to avoid CredSSP error messages that previously occurred. If you're currently using the previous
rdesktop solution, you'll need to install
xfreerdp. This solution works out of the box without configuration, making it easier to test Windows guests on Linux hosts. Thanks @ramereth!
The knife-ec2 plugin for Amazon EC2 has been updated from 2.1.0 to 2.1.1 to properly report the instance name when running
knife ec2 server list. Thanks for reporting this issue @isaitgirl!
Fauxhai was updated from 8.6 to 8.7. Fauxhai provides mock Ohai system configuration data for use in ChefSpec unit tests. This release marked several legacy OS datasets as deprecated. The mocked data for these platforms will be removed from Fauxhai in the April 2021 release:
- openSUSE 15.1
- Redhat 7.6
- CentOS 7.6
- Linux Mint 18.3
- All Amazon Linux 201X releases except 2018.03
To detect and update ChefSpec tests using this legacy data, run Cookstyle against your cookbooks.
The Chef Push Client and knife-push plugin are no longer included in Chef Workstation. Chef Push Jobs became EOL on Dec 31, 2020.
Get the Build
If you are running the Chef Workstation toolbar application you can download this version from the menu after the app next update check. You can also download binaries directly from downloads.chef.io.
As always, we welcome your feedback and invite you to contact us directly or share your email. Thanks for using Chef Workstation!