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, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS , CentOS Stream and Scientific Linux (SL), Oracle Linux (OL).
The yum-epel cookbook takes over management of the default repositoryids shipped with epel-release.
Below is a table showing which repositoryids we manage that are shipped by default via the epel-release package:
Repo ID | EL 7 | EL 8 | EL 9 | CentOS Stream 8 | CentOS Stream 9 |
---|---|---|---|---|---|
epel | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
epel-debuginfo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
epel-next | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-next-debuginfo | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-next-source | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-next-testing | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-next-testing-debug | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-next-testing-source | ❌ | ❌ | ❌ | ✔️ | ✔️ |
epel-source | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
epel-testing | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
epel-testing-debuginfo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
epel-testing-source | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
- RHEL/CentOS and derivatives
- Chef 12.15+
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
See individual repository attribute files for defaults.
yum-epel::default
Generatesyum_repository
configs for the standard EPEL repositories. By default theepel
repository is enabled. For CentOS Stream, the epel-next repository is also enabled.
To disable the epel repository through a Role or Environment definition
default_attributes(
:yum => {
:epel => {
:enabled => {
false
}
}
}
)
Uncommonly used repositoryids are not managed by default. This is speeds up integration testing pipelines by avoiding yum-cache builds that nobody cares about. To enable the epel-testing repository with a wrapper cookbook, place the following in a recipe:
node.default['yum']['epel-testing']['enabled'] = true
node.default['yum']['epel-testing']['managed'] = true
include_recipe 'yum-epel'
Point the epel repositories at an internally hosted server.
node.default['yum']['epel']['enabled'] = true
node.default['yum']['epel']['mirrorlist'] = nil
node.default['yum']['epel']['baseurl'] = 'https://internal.example.com/centos/7/os/x86_64'
node.default['yum']['epel']['sslverify'] = false
include_recipe 'yum-epel'
This 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.