We are delighted to announce the availability of version 18.5.0 of Chef Infra Client.
Security
- OpenSSL 3.0.9 has been introduced for all platforms except macOS, Windows, and AIX
- Amazon and Ubuntu now support FIPS for ARM.
Resource Updates
chef_client_systemd_timer
: addumask
chef/chef#14238 - Stromweldchocolatey_package
: correct logic foruse_choco_list
(regression + downcase fix) chef/chef#14227 - jaymzjulian- Add examples to snap_package resource. chef/chef#14299 - williamtheaker
- Fixed the issue with log level on the chef config chef/chef#14294 - ashiqueps
- [Immutablize#convert_value] reduce number of class comparisons chef/chef#14234 - dafyddcrosby
- Fix
chocolatey_package
for Chocolatey Licensed customers chef/chef#14320 - johnmccrae - [Bug fix] Disable merging of chocolatey searches chef/chef#14327 - jaymzjulian
- hyperv added to virtualization helper chef/chef#14359 - snohio
- Adds AllowClobber powershell_package resource chef/chef#14382 - mikef-nl
- Comment property of sysctl resource does not define system state chef/chef#14309 - drdev
Performance improvements (thanks to dafyddcrosby for all the effort on these)
- [Knife#pattern_arg_from] Use start_with? chef/chef#14384
- [CookbookManifest#files_for] Avoid unnecessary allocations chef/chef#14388
- [StateTracking] Do in-place compact chef/chef#14390
- [CookbookSynchronizer#ensure_cookbook_paths] Move file_cache_path method out of loop chef/chef#14391
- [PathHelper#join] Reduce allocations chef/chef#14385
- [Immutablize#convert_value] return already frozen String objects chef/chef#14226
- [CookbookVersionLoader#load_all_files] Do directory test after name check chef/chef#14349
- [Chefignore#parse_ignore_file] Use strip! on lines chef/chef#14348
- Move attribute merge NIL checks into inject chef/chef#14218
- [FileCache#Find] N to 1 calls for file matching chef/chef#14351
- [ChefConfig] Add memoization to var_root_dir and var_chef_dir methods chef/chef#14368
Bug Fixes
- fix bug in
chef_client_config
resource template forclient.rb
when listed property is abool
and checks for.empty?
generatesNoMethodError
chef/chef#14255 - Stromweld hab-install.sh
was calling the incorrect version ofbash
in the script chef/chef#14298 - johnmccrae- [Revert] "Add missing
description
to windows_service load_current_resource for idempotent check to be successful" chef/chef#14334 - tpowell-progress - win32-service gem was not able to be updated to suppor this at this time, reverting. - [Revert] "zypper_package: Fix idempotency issue" chef/chef#14408 - johnmccrae - idempotency fix caused other issues.
- Updating Chef Foundation chef/chef#14449 - johnmccrae - Updating Chef-Foundation to pull in updates from Omnibus-Software that fix this issue: Ruby Patches : Windows throwing encoding (utf-8) errors when retrieving data from the registry.
Cleanup
- Fix requiring of chef-utils/version_string. chef/chef#14256 - tpowell-progress
- remove repetitive words in comments chef/chef#14281 - carrychair
- Replace hardcoded Chef trademark with
ChefUtils::Dist::Infra::PRODUCT
in deprecation warnings. chef/chef#14279 - williamtheaker - cleanup and refactor of kitchen-tests chef/chef#14280 - Stromweld
- [trivial] add missing markdown fence on
execute
resource code example chef/chef#14326 - dafyddcrosby - Add note about adding account rights not taking immediate effect in Windows. chef/chef#14325 - tpowell-progress -
There is some confusion aboutadd_account_right
and whether it can take immediate effect in Windows in the same Chef run. Also updated the example for setting rights to usewindows_privilege_resource
- EC and modulo length update for OpenSSL 3 compatibility chef/chef#14354 - tpowell-progress
- Remove EOL Warning for Chef 18, since there is no specific timeline for major version releases chef/chef#14366 - Stromweld
- Test FIPS MD5 chef/chef#14387 - tpowell-progress
- update kitchen-tests platforms chef/chef#14395 - Stromweld
- update latest license_scout version chef/chef#14413 - muthuja
- conservative update of vault chef/chef#14423 - tpowell-progress
- Remove extra asterisk from the
chef_gem
resource examples chef/chef#14429 - IanMadd
Packaging
- Removing OSX 10.15 support per request from Build Services chef/chef#14291 - johnmccrae
- Bump Ruby 3.1 from 3.1.2 to 3.1.4 to pick up
curl
version bump to curl 8.0.1 and perl 5, version 36
Get the Build
As always, you can download binaries from chef.io/downloads or by using the mixlib-install
command-line utility:
$ mixlib-install download chef -v 18.5.0
Alternatively, you can install Chef Infra Client using one of the following command options:
# In Shell
$ curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -P chef -v 18.5.0
# In Windows Powershell
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex