Chef Infra Client 16.10.8 Released!

Hey Everyone,

We have a new release of Chef Infra Client 16 out today packed with new features we hope you enjoy.

Improved Linux Network Detection

On Linux systems, Chef Infra Client now detects all installed NICs on systems with more than 10 interfaces and will populate Ethernet pause frame information if present. Thanks for these improvements @kuba-moo and @Babar!

AWS Instance Metadata Service Version 2 (IMDSv2) support

Chef Infra Client now supports the latest generation of AWS metadata services (IMDSv2). This allows you to secure the contents of the metadata endpoint while still exposing this data for use in Chef Infra cookbooks. Thanks for this new functionality @wilkosz and @sawanoboly!

Improved AWS Metadata Gathering

On AWS instances, we now gather data from the latest metadata API versions, exposing new AWS instance information for use in Infra Cookbooks:

  • elastic-gpus/associations/elastic-gpu-id
  • elastic-inference/associations/eia-id
  • events/maintenance/history
  • events/maintenance/scheduled
  • events/recommendations/rebalance
  • instance-life-cycle
  • network/interfaces/macs/mac/network-card-index
  • placement/availability-zone-id
  • placement/group-name
  • placement/host-id
  • placement/partition-number
  • placement/region
  • spot/instance-action

Alma Linux Support

Chef Infra Client now maps Alma Linux to the rhel platform_family value. Alma Linux is a new open-source RHEL fork produced by the CloudLinux team.

We've also added support for testing cookbooks on Alma Linux with new Alma Linux 8 Vagrant Images for use in Test Kitchen on VirtualBox, Parallels, and VMware. You can use these images today in Test Kitchen by specifying this new box in your config as follows:

  - name: almalinux-8
      box: bento/almalinux-8

Note: In the upcoming release of Chef Workstation, you'll be able to skip the box config and Test Kitchen will automatically map almalinux-8 to the appropriate Vagrant image.

Knife Bootstrapping Without Sudo

The knife boostrap command now supports elevating privileges on systems without sudo by using the su command instead. Use the new --su-user and --su-password flags to specify credentials for su.

Resource Updates


The dnf_package has been updated to maintain idempotency when using the :upgrade action when the RPM release "number" contains a dot (.).


The windows_certificate resource now honors the user_store property to manage certificates in the User store instead of the System store.

Get the Build

As always, you can download binaries directly from or by using the mixlib-install command-line utility:

$ mixlib-install download chef -v 16.10.8

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

# In Shell
$ curl | sudo bash -s -- -P chef -v 16.10.8
# In Windows Powershell
. { iwr -useb } | iex; install -project chef -version 16.10.8

If you want to give this version a spin in Test Kitchen, create or add the following to your kitchen.yml file:

  product_name: chef
  product_version: 16.10.8


In addition to the usual Raspberry Pi builds, Graham Weldon has made new armel builds available for switches and similar hardware. 32-bit Arm Chef Infra and Cinc Client Builds for Linux