Install Chef Infra Client RC2 using a native installer
The Chef Infra Client native installers provide an efficient way to install the Chef Infra Client on both Debian and RPM-based distributions.
Users can download and install the pre-built .deb
or .rpm
packages using their existing package management tools, simplifying the deployment process for managing system configurations.
Supported platforms
Chef Infra Client 19 RC2 is supported on Linux x86-64 systems.
Prerequisites
This install process has the following prerequisites:
- Chef Workstation isn’t installed on the target system.
- On Debian-based systems, the dpkg package manager is installed on the target system.
- On RPM-based systems, the RPM and DNF package managers are installed on the target system.
- You have a valid Progress Chef License key.
- The target system is connected to the internet.
Install Chef Infra Client
To install Chef Infra Client 19, follow these steps:
Add your Progress Chef License key to your machine’s environment:
export CHEF_LICENSE_KEY=<LICENSE_KEY>
Replace
<LICENSE_KEY>
with your Progress Chef License key.Download the Chef Infra Client installer.
- Download Debian-based installer
For Debian-based distributions:
Using Wget:
wget https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2_amd64.deb?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=juoMKNP%2BAnq6cV61c%2BIrj2OIhFI%3D&Expires=1756222738
Using curl:
curl -LO https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2_amd64.deb?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=juoMKNP%2BAnq6cV61c%2BIrj2OIhFI%3D&Expires=1756222738
- Download RPM-based installer
For RPM-based distributions:
Using Wget:
wget https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2.amzn2.x86_64.rpm?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=YNL2rOEpPflwG4PPyvIcofHBZ%2Fc%3D&Expires=1756222794
Using curl:
curl -LO https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2.amzn2.x86_64.rpm?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=YNL2rOEpPflwG4PPyvIcofHBZ%2Fc%3D&Expires=1756222794
- Download Debian-based installer
Navigate to the directory with the installer
cd /path/to/downloaded/installer
Install the package.
- Install on Debian-based distributions
For Debian-based distributions:
sudo -E dpkg -i chef-infra-client-19.1.rc2_amd64.deb
- Install on RPM-based distributions
For RPM-based distributions:
sudo -E dnf install chef-infra-client-19.1.rc2.amzn2.x86_64.rpm -y
- Install on Debian-based distributions
Verify the installation:
chef-client --version
Next step
After installing Chef Infra Client, you can test it by running an example cookbook.