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


yum-elrepo (12) Versions 0.2.3

Installs and configures the elrepo yum repository

cookbook 'yum-elrepo', '= 0.2.3'
cookbook 'yum-elrepo', '= 0.2.3', :supermarket
knife supermarket install yum-elrepo
knife supermarket download yum-elrepo
Quality 100%

yum-elrepo Cookbook

Build Status Cookbook Version

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



  • RHEL/CentOS and derivatives
  • Fedora


  • Chef 11+


  • yum version 3.2.0 or higher


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'

License & Authors

Author: Cookbook Engineering Team (

Copyright: 2011-2015, Chef Software, Inc. ``` Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```

yum-elrepo Cookbook CHANGELOG

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

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

Foodcritic Metric

0.2.3 passed this metric