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 2.0.1

Installs and configures the atrpms Yum repository

cookbook 'yum-atrpms', '~> 2.0.1', :supermarket
cookbook 'yum-atrpms', '~> 2.0.1'
knife supermarket install yum-atrpms
knife supermarket download yum-atrpms
Quality 33%

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


The atrpms repos are no longer available. This cookbook has been deprecated as there is no longer a need to manage these repositiories



  • RHEL/CentOS and derivatives
  • Fedora


  • Chef 12.1+


  • compat_resource


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-2016, 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

compat_resource >= 12.16.3

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.

2.0.1 (2016-12-22)

  • Deprecate this cookbook as the atrpms repo is no more
  • Depend on the latest compat_resource cookbook

2.0.0 (2016-11-25)

  • Replace yum dependency with compat_resource
  • Convert to inspec from bats

1.0.0 (2016-09-06)

  • Testing updates
  • Resolve rubocop warnings
  • Add chef_version metadata
  • Remove Chef 11 support

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

Collaborator Number Metric

2.0.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

2.0.1 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

Foodcritic Metric

2.0.1 passed this metric

No Binaries Metric

2.0.1 passed this metric

Testing File Metric

2.0.1 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.0.1 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