Skip to content

Update package page #4401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions content/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,15 @@ To set up an APT package repository for Debian and Ubuntu platforms:

### Enterprise Linux

To set up a Yum package repository for Enterprise Linux platforms:
{{< note >}}

Starting in Chef Infra Client 18.6.2, we upgraded the GPG signing algorithm used to sign RHEL packages from SHA1 to SHA256. RHEL 9 no longer supports the less secure SHA1 hashes.

{{< /note >}}

Before you begin, verify that you have the `yum-utils` package installed.

To set up a Yum package repository for Enterprise Linux platforms, follow these steps:

1. Install the public key for Chef Software:

Expand All @@ -99,20 +107,10 @@ To set up a Yum package repository for Enterprise Linux platforms:
Replace:

- `<CHANNEL>` with the release channel: `stable` or `current`.
- `<VERSION>` with the version Enterprise Linux version.
- `<VERSION>` with the Enterprise Linux version.

1. Update the package repository list:

```bash
sudo yum-config-manager --add-repo chef-stable.repo
```

Note that the `yum-config-manager` command requires the `yum-utils`
package, which isn't installed on CentOS by default. You can
install the package by running `sudo yum install yum-utils`, or you
can use the `mv` command to add the repository to the
`/etc/yum.repos.d/` directory:

```bash
sudo mv chef-stable.repo /etc/yum.repos.d/
```