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

The yum-atrpms cookbook has been deprecated

Author provided reason for deprecation:

The yum-atrpms cookbook has been deprecated and is no longer being maintained by its authors. Use of the yum-atrpms cookbook is no longer recommended.


yum-atrpms (7) Versions 0.1.3

Installs and configures the atrpms Yum repository

cookbook 'yum-atrpms', '= 0.1.3', :supermarket
cookbook 'yum-atrpms', '= 0.1.3'
knife supermarket install yum-atrpms
knife supermarket download yum-atrpms
Quality 100%

yum-atrpms Cookbook

Build Status
Cookbook Version

The yum-atrpms cookbook takes over management of the default
repositoryids shipped with atrpms-release. It allows attribute
manipulation of atrpms, atrpms-debuginfo, atrpms-source,
atrpms-testing, atrpms-testing-debuginfo, atrpms-testing-source,
atrpms-bleeding, atrpms-bleeding-debuginfo, and atrpms-bleeding-source



  • RHEL/CentOS and derivatives
  • Fedora


  • Chef 11+


  • yum version 3.2.0 or higher


The following attributes are set by default

default['yum-atrpms']['repositories'] = %w(
  atrpms atrpms-debuginfo atrpms-source
  atrpms-testing atrpms-testing-debuginfo atrpms-testing-source
  atrpms-bleeding atrpms-bleeding-debuginfo atrpms-bleeding-source
default['yum']['atrpms']['repositoryid'] = 'atrpms'
default['yum']['atrpms']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms'
default['yum']['atrpms']['baseurl'] = '$releasever-$basearch/atrpms/stable'
default['yum']['atrpms']['gpgkey'] = ''
default['yum']['atrpms']['failovermethod'] = 'priority'
default['yum']['atrpms']['gpgcheck'] = true
default['yum']['atrpms']['enabled'] = true
default['yum']['atrpms']['managed'] = true
default['yum']['atrpms-debuginfo']['repositoryid'] = 'atrpms-debuginfo'
default['yum']['atrpms-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug'
default['yum']['atrpms-debuginfo']['baseurl'] = '$releasever-$basearch/atrpms/stable'
default['yum']['atrpms-debuginfo']['gpgkey'] = ''
default['yum']['atrpms-debuginfo']['failovermethod'] = 'priority'
default['yum']['atrpms-debuginfo']['gpgcheck'] = true
default['yum']['atrpms-debuginfo']['enabled'] = true
default['yum']['atrpms-debuginfo']['managed'] = true
default['yum']['atrpms-source']['repositoryid'] = 'atrpms-source'
default['yum']['atrpms-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source'
default['yum']['atrpms-source']['baseurl'] = '$releasever-$basearch/atrpms/stable'
default['yum']['atrpms-source']['gpgkey'] = ''
default['yum']['atrpms-source']['failovermethod'] = 'priority'
default['yum']['atrpms-source']['gpgcheck'] = true
default['yum']['atrpms-source']['enabled'] = true
default['yum']['atrpms-source']['managed'] = true
default['yum']['atrpms-testing']['repositoryid'] = 'atrpms-testing'
default['yum']['atrpms-testing']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing'
default['yum']['atrpms-testing']['baseurl'] = '$releasever-$basearch/atrpms/testing'
default['yum']['atrpms-testing']['gpgkey'] = ''
default['yum']['atrpms-testing']['failovermethod'] = 'priority'
default['yum']['atrpms-testing']['gpgcheck'] = true
default['yum']['atrpms-testing']['enabled'] = true
default['yum']['atrpms-testing']['managed'] = true
default['yum']['atrpms-testing-debuginfo']['repositoryid'] = 'atrpms-testing-debuginfo'
default['yum']['atrpms-testing-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing  - Debug'
default['yum']['atrpms-testing-debuginfo']['baseurl'] = '$releasever-$basearch/atrpms/testing'
default['yum']['atrpms-testing-debuginfo']['gpgkey'] = ''
default['yum']['atrpms-testing-debuginfo']['failovermethod'] = 'priority'
default['yum']['atrpms-testing-debuginfo']['gpgcheck'] = true
default['yum']['atrpms-testing-debuginfo']['enabled'] = true
default['yum']['atrpms-testing-debuginfo']['managed'] = true
default['yum']['atrpms-testing-source']['repositoryid'] = 'atrpms-testing-source'
default['yum']['atrpms-testing-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms testing - Source'
default['yum']['atrpms-testing-source']['baseurl'] = '$releasever-$basearch/atrpms/testing'
default['yum']['atrpms-testing-source']['gpgkey'] = ''
default['yum']['atrpms-testing-source']['failovermethod'] = 'priority'
default['yum']['atrpms-testing-source']['gpgcheck'] = true
default['yum']['atrpms-testing-source']['enabled'] = true
default['yum']['atrpms-testing-source']['managed'] = true
default['yum']['atrpms-bleeding']['repositoryid'] = 'atrpms-bleeding'
default['yum']['atrpms-bleeding']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding'
default['yum']['atrpms-bleeding']['baseurl'] = '$releasever-$basearch/atrpms/bleeding'
default['yum']['atrpms-bleeding']['gpgkey'] = ''
default['yum']['atrpms-bleeding']['failovermethod'] = 'priority'
default['yum']['atrpms-bleeding']['gpgcheck'] = true
default['yum']['atrpms-bleeding']['enabled'] = true
default['yum']['atrpms-bleeding']['managed'] = true
default['yum']['atrpms-bleeding-debuginfo']['repositoryid'] = 'atrpms-bleeding-debuginfo'
default['yum']['atrpms-bleeding-debuginfo']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding  - Debug'
default['yum']['atrpms-bleeding-debuginfo']['baseurl'] = '$releasever-$basearch/atrpms/bleeding'
default['yum']['atrpms-bleeding-debuginfo']['gpgkey'] = ''
default['yum']['atrpms-bleeding-debuginfo']['failovermethod'] = 'priority'
default['yum']['atrpms-bleeding-debuginfo']['gpgcheck'] = true
default['yum']['atrpms-bleeding-debuginfo']['enabled'] = true
default['yum']['atrpms-bleeding-debuginfo']['managed'] = true
default['yum']['atrpms-bleeding-source']['repositoryid'] = 'atrpms-bleeding-source'
default['yum']['atrpms-bleeding-source']['description'] = 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms bleeding - Source'
default['yum']['atrpms-bleeding-source']['baseurl'] = '$releasever-$basearch/atrpms/bleeding'
default['yum']['atrpms-bleeding-source']['gpgkey'] = ''
default['yum']['atrpms-bleeding-source']['failovermethod'] = 'priority'
default['yum']['atrpms-bleeding-source']['gpgcheck'] = true
default['yum']['atrpms-bleeding-source']['enabled'] = true
default['yum']['atrpms-bleeding-source']['managed'] = 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 'atrpms' do
    baseurl '$releasever-$basearch/atrpms/stable'
    description 'Red Hat Enterprise Linux $releasever - $basearch - ATrpms'
    enabled true
    gpgcheck true
    gpgkey ''

Usage Example

To disable the atrpms repository through a Role or Environment definition

  :yum => {
    :atrpms => {
      :enabled => {

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 atrpms-testing repository with a
wrapper cookbook, place the following in a recipe:

node.default['yum']['atrpms-testing']['enabled'] = true
node.default['yum']['atrpms-testing']['managed'] = true
include_recipe 'yum-atrpms'

More Examples

Point the atrpms repositories at an internally hosted server.

node.default['yum']['atrpms']['enabled'] = true
node.default['yum']['atrpms']['mirrorlist'] = nil
node.default['yum']['atrpms']['baseurl'] = ''
node.default['yum']['atrpms']['sslverify'] = false

include_recipe 'yum-atrpms'

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,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

yum ~> 3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

yum-atrpms Cookbook CHANGELOG

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

v0.1.3 (2015-12-01)

  • Fixing if/unless logic in recipes

v0.1.2 (2015-10-28)

  • Fixing Chef 13 warnings by not passing nils

v0.1.1 (2015-09-22)

  • Add support for Amazon linux
  • 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
  • Added Fedora 20 to the Travis 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
  • Update Chefspec config to 4.X format

v0.1.0 (2014-09-22)

  • Initial Release

Foodcritic Metric

0.1.3 passed this metric