Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux.
The yum-epel cookbook provides custom resources that wrap Chef Infra's yum_repository resource for the default repository IDs shipped by epel-release and epel-next-release.
For migration details from the legacy recipe and attribute API, see migration.md.
Below is a table showing which repository IDs are managed by the cookbook resources:
| Repo ID | EL 8 | EL 9 | EL 10 | CentOS Stream 9 |
|---|---|---|---|---|
| epel | yes | yes | yes | yes |
| epel-debuginfo | yes | yes | yes | yes |
| epel-next | no | no | no | yes |
| epel-next-debuginfo | no | no | no | yes |
| epel-next-source | no | no | no | yes |
| epel-next-testing | no | no | no | yes |
| epel-next-testing-debug | no | no | no | yes |
| epel-next-testing-source | no | no | no | yes |
| epel-source | yes | yes | yes | yes |
| epel-testing | yes | yes | yes | yes |
| epel-testing-debuginfo | yes | yes | yes | yes |
| epel-testing-source | yes | yes | yes | yes |
- AlmaLinux 8+
- Amazon Linux 2023+
- CentOS Stream 9+
- Oracle Linux 8+
- Red Hat Enterprise Linux 8+
- Rocky Linux 8+
- Chef 15.3+
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- none
Manage the default EPEL repositories. By default the epel repository is enabled. On CentOS Stream 9, epel-next is also enabled.
yum_epel 'default'Disable the epel repository while keeping it managed.
yum_epel 'default' do
disabled_repositories ['epel']
endUncommonly used repository IDs are not managed by default. To manage and enable all supported repository IDs for the platform:
yum_epel 'all' do
repositories :all
enabled_repositories :all
endPoint the epel repositories at an internally hosted server.
yum_epel_repository 'epel' do
mirrorlist nil
baseurl 'https://internal.example.com/centos/9/os/x86_64'
sslverify false
endThis project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.