Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


yum-elrepo (26) Versions 2.2.10

Installs and configures the elrepo yum repository

cookbook 'yum-elrepo', '~> 2.2.10', :supermarket
cookbook 'yum-elrepo', '~> 2.2.10'
knife supermarket install yum-elrepo
knife supermarket download yum-elrepo
Quality 50%

yum-elrepo Cookbook

Cookbook Version
CI State

The yum-elrepo cookbook takes over management of the default repositoryids used by elrepo. It allows attribute manipulation of elrepo.


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 or come chat with us on the Chef Community Slack in #sous-chefs.



  • RHEL/CentOS and derivatives
  • Fedora


  • Chef 12.14+


  • none


The following attributes are set by default

default['yum']['elrepo']['baseurl'] = ''
default['yum']['elrepo']['baseurl'] = ' Yum Repository'
default['yum']['elrepo']['gpgkey'] = ''
default['yum']['elrepo']['enabled'] = true


  • default - Walks through node attributes and feeds a yum_resource
  • parameters. The following is an example a resource generated by the
  • recipe during compilation.
  yum_repository 'elrepo' do
    mirrorlist ''
    description ' Yum Repository'
    enabled true
    gpgcheck true
    gpgkey ''

Usage Example

To disable the elrepo repository through a Role or Environment definition

  :yum => {
    :elrepo => {
      :enabled => {

To enable the elrepo repository with a wrapper cookbook, place the following in a recipe:

node.default['yum']['elrepo']['enabled'] = true
include_recipe 'yum-elrepo'

More Examples

Point the elrepo repositories at an internally hosted server.

node.default['yum']['elrepo']['enabled'] = true
node.default['yum']['elrepo']['baseurl'] = ''
node.default['yum']['elrepo']['sslverify'] = false

include_recipe 'yum-elrepo'


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.

yum-elrepo Cookbook CHANGELOG

This file is used to list changes made in each version of the yum-elrepo cookbook.

2.2.10 - 2024-05-03

2.2.9 - 2024-05-03

2.2.8 - 2024-05-01

2.2.7 - 2024-05-01

2.2.6 - 2023-11-01

2.2.5 - 2023-10-31

2.2.4 - 2023-09-28

2.2.3 - 2023-09-04

2.2.2 - 2023-07-10

2.2.1 - 2023-05-17

2.2.0 - 2023-04-18

  • Add support for EL9 and AmazonLinux 2023
  • Switch to using https by default
  • Remove legacy files
  • Update various GitHub Actions
  • Pull in latest standard files

2.1.5 - 2023-04-18

  • Add renovate.json

2.1.4 - 2023-02-14

  • Remove Delivery
  • Remove Gemfile

2.1.3 - 2022-01-28

  • Add Alma Linux and Rocky Linux to testing
  • Remove CentOS 8 (prefer Stream)

2.1.2 - 2021-08-29

  • Standardise files with files in sous-chefs/repo-management

2.1.1 - 2021-06-01

  • Standardise files with files in sous-chefs/repo-management

2.1.0 - 2021-03-10

  • Sous Chefs Adoption
  • Update InSpec tests

2.0.0 (2018-02-16)

  • Require Chef 12.14+ and remove compat_resource dep
  • Improve testing
  • Use a SPDX compliant license string

1.1.1 (2016-12-22)

  • Switch to inspec for testing
  • Depend on the latest compat_resource cookbook
  • Cookstyle fixes

1.1.0 (2016-11-14)

  • Replace yum dependency with compat_resource
  • Added Kernel repo

1.0.0 (2016-09-06)

  • Testing updates
  • Add chef_version metadata
  • Remove support for Chef 11

v0.2.5 (2015-12-01)

  • Updating if/unless logic in recipes

v0.2.4 (2015-10-28)

  • Fixing Chef 13 nil property deprecation warnings

v0.2.3 (2015-09-22)

  • Update yum depencency from ~3.0 to ~3.2
  • Added source_url and issues_url metadata
  • Added the standard chef rubocop config
  • Added standard Chef gitignore and chefignore files
  • Update berksfile API endpoint
  • Update distro versions in the Kitchen config
  • Add Travis CI and cookbook version badges in the readme
  • Expand the requirements section in the readme
  • Update contributing, maintainers, and testing docs
  • Add standard Gemfile with testing and development dependencies

v0.2.2 (2015-06-21)

  • Add elrepo-testing and elpreo-extras repositories

v0.2.0 (2014-02-14)

Updating test harness




initial release

Collaborator Number Metric

2.2.10 passed this metric

Contributing File Metric

2.2.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Cookstyle Metric

2.2.10 passed this metric

No Binaries Metric

2.2.10 passed this metric

Testing File Metric

2.2.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

2.2.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number