# Chef Infra Client 18.5.0 Released!

**URL:** <https://discourse.chef.io/t/chef-infra-client-18-5-0-released/23188>\
**Category:** Chef Release Announcements\
**Created:** [July 9, 2024, 3:42pm UTC](https://discourse.chef.io/t/chef-infra-client-18-5-0-released/23188 "2024-07-09T15:42:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chef-ci](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/chef-ci/32/2320_2.png) [@chef-ci](https://discourse.chef.io/u/chef-ci)\
**Post date:** [July 9, 2024, 3:42pm UTC](https://discourse.chef.io/t/chef-infra-client-18-5-0-released/23188/1 "2024-07-09T15:42:26Z")

</div>

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`: add `umask` [chef/chef#14238](https://github.com/chef/chef/pull/14238) - [Stromweld](https://github.com/Stromweld)
- `chocolatey_package`: correct logic for `use_choco_list` (regression + downcase fix) [chef/chef#14227](https://github.com/chef/chef/pull/14227) - [jaymzjulian](https://github.com/jaymzjulian)
- Add examples to snap\_package resource. [chef/chef#14299](https://github.com/chef/chef/pull/14299) - [williamtheaker](https://github.com/williamtheaker)
- Fixed the issue with log level on the chef config [chef/chef#14294](https://github.com/chef/chef/pull/14294) - [ashiqueps](https://github.com/ashiqueps)
- [Immutablize#convert\_value] reduce number of class comparisons [chef/chef#14234](https://github.com/chef/chef/pull/14234) - [dafyddcrosby](https://github.com/dafyddcrosby)
- Fix `chocolatey_package` for Chocolatey Licensed customers [chef/chef#14320](https://github.com/chef/chef/pull/14320) - [johnmccrae](https://github.com/johnmccrae)
- [Bug fix] Disable merging of chocolatey searches [chef/chef#14327](https://github.com/chef/chef/pull/14327) - [jaymzjulian](https://github.com/jaymzjulian)
- hyperv added to virtualization helper [chef/chef#14359](https://github.com/chef/chef/pull/14359) - [snohio](https://github.com/snohio)
- Adds AllowClobber powershell\_package resource [chef/chef#14382](https://github.com/chef/chef/pull/14382) - [mikef-nl](https://github.com/mikef-nl)
- Comment property of sysctl resource does not define system state [chef/chef#14309](https://github.com/chef/chef/pull/14309) - [drdev](https://github.com/drdev)

## Performance improvements (thanks to [dafyddcrosby](https://github.com/dafyddcrosby) for all the effort on these)

- [Knife#pattern\_arg\_from] Use start\_with? [chef/chef#14384](https://github.com/chef/chef/pull/14384)
- [CookbookManifest#files\_for] Avoid unnecessary allocations [chef/chef#14388](https://github.com/chef/chef/pull/14388)
- [StateTracking] Do in-place compact [chef/chef#14390](https://github.com/chef/chef/pull/14390)
- [CookbookSynchronizer#ensure\_cookbook\_paths] Move file\_cache\_path method out of loop [chef/chef#14391](https://github.com/chef/chef/pull/14391)
- [PathHelper#join] Reduce allocations [chef/chef#14385](https://github.com/chef/chef/pull/14385)
- [Immutablize#convert\_value] return already frozen String objects [chef/chef#14226](https://github.com/chef/chef/pull/14226)
- [CookbookVersionLoader#load\_all\_files] Do directory test after name check [chef/chef#14349](https://github.com/chef/chef/pull/14349)
- [Chefignore#parse\_ignore\_file] Use strip! on lines [chef/chef#14348](https://github.com/chef/chef/pull/14348)
- Move attribute merge NIL checks into inject [chef/chef#14218](https://github.com/chef/chef/pull/14218)
- [FileCache#Find] N to 1 calls for file matching [chef/chef#14351](https://github.com/chef/chef/pull/14351)
- [ChefConfig] Add memoization to var\_root\_dir and var\_chef\_dir methods [chef/chef#14368](https://github.com/chef/chef/pull/14368)

## Bug Fixes

- fix bug in `chef_client_config` resource template for `client.rb` when listed property is a `bool` and checks for `.empty?` generates `NoMethodError` [chef/chef#14255](https://github.com/chef/chef/pull/14255) - [Stromweld](https://github.com/Stromweld)
- `hab-install.sh` was calling the incorrect version of `bash` in the script [chef/chef#14298](https://github.com/chef/chef/pull/14298) - [johnmccrae](https://github.com/johnmccrae)
- [Revert] "Add missing `description` to windows\_service load\_current\_resource for idempotent check to be successful" [chef/chef#14334](https://github.com/chef/chef/pull/14334) - [tpowell-progress](https://github.com/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](https://github.com/chef/chef/pull/14408) - [johnmccrae](https://github.com/johnmccrae) - idempotency fix caused other issues.
- Updating Chef Foundation [chef/chef#14449](https://github.com/chef/chef/pull/14449) - [johnmccrae](https://github.com/johnmccrae) - Updating Chef-Foundation to pull in updates from Omnibus-Software that fix this issue: [Ruby Patches](https://github.com/chef/omnibus-software/pull/1914) : Windows throwing encoding (utf-8) errors when retrieving data from the registry.

## Cleanup

- Fix requiring of chef-utils/version\_string. [chef/chef#14256](https://github.com/chef/chef/pull/14256) - [tpowell-progress](https://github.com/tpowell-progress)
- remove repetitive words in comments [chef/chef#14281](https://github.com/chef/chef/pull/14281) - [carrychair](https://github.com/carrychair)
- Replace hardcoded Chef trademark with `ChefUtils::Dist::Infra::PRODUCT` in deprecation warnings. [chef/chef#14279](https://github.com/chef/chef/pull/14279) - [williamtheaker](https://github.com/williamtheaker)
- cleanup and refactor of kitchen-tests [chef/chef#14280](https://github.com/chef/chef/pull/14280) - [Stromweld](https://github.com/Stromweld)
- [trivial] add missing markdown fence on `execute` resource code example [chef/chef#14326](https://github.com/chef/chef/pull/14326) - [dafyddcrosby](https://github.com/dafyddcrosby)
- Add note about adding account rights not taking immediate effect in Windows. [chef/chef#14325](https://github.com/chef/chef/pull/14325) - [tpowell-progress](https://github.com/tpowell-progress) -  
There is some confusion about `add_account_right` and whether it can take immediate effect in Windows in the same Chef run. Also updated the example for setting rights to use `windows_privilege_resource`
- EC and modulo length update for OpenSSL 3 compatibility [chef/chef#14354](https://github.com/chef/chef/pull/14354) - [tpowell-progress](https://github.com/tpowell-progress)
- Remove EOL Warning for Chef 18, since there is no specific timeline for major version releases [chef/chef#14366](https://github.com/chef/chef/pull/14366) - [Stromweld](https://github.com/Stromweld)
- Test FIPS MD5 [chef/chef#14387](https://github.com/chef/chef/pull/14387) - [tpowell-progress](https://github.com/tpowell-progress)
- update kitchen-tests platforms [chef/chef#14395](https://github.com/chef/chef/pull/14395) - [Stromweld](https://github.com/Stromweld)
- update latest license\_scout version [chef/chef#14413](https://github.com/chef/chef/pull/14413) - [muthuja](https://github.com/muthuja)
- conservative update of vault [chef/chef#14423](https://github.com/chef/chef/pull/14423) - [tpowell-progress](https://github.com/tpowell-progress)
- Remove extra asterisk from the `chef_gem` resource examples [chef/chef#14429](https://github.com/chef/chef/pull/14429) - [IanMadd](https://github.com/IanMadd)

## Packaging

- Removing OSX 10.15 support per request from Build Services [chef/chef#14291](https://github.com/chef/chef/pull/14291) - [johnmccrae](https://github.com/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](https://www.chef.io/downloads/) or by using the `mixlib-install` command-line utility:

```auto
$ mixlib-install download chef -v 18.5.0

```

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

```auto
# 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
```
