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-atomic (4) Versions 0.2.0

Installs/Configures yum-atomic repo

cookbook 'yum-atomic', '~> 0.2.0', :supermarket
cookbook 'yum-atomic', '~> 0.2.0'
knife supermarket install yum-atomic
knife supermarket download yum-atomic
Quality 17%

yum-atomic Cookbook

Cookbook Version

The yum-atomic cookbook takes over management of the repositoryids of
the atomic repository (including popular RPM packages for OSSEC).
It allows attribute manipulation of atomic, and atomic-test


  • Chef 12.1 or higher
  • Depends on yum-epel

Platform Support

The following platforms have been tested with Test Kitchen:

|           | atomic | atomic-test |
| centos-5  | X      | X           |
| centos-6  | X      | X           |
| centos-7  | X      | X           |
| fedora-20 | X      |             |
| fedora-21 | X      |             |

Fedora and RHEL based distributions (RHEL, CentOS, and Scientific Linux)
are supported


The following attributes are set by default

default['yum']['atomic']['repositoryid'] = 'atomic'
default['yum']['atomic']['mirrorlist'] = '$releasever-$basearch'
default['yum']['atomic']['description'] = 'CentOS / Red Hat Enterprise Linux $releasever -'
default['yum']['atomic']['enabled'] = true
default['yum']['atomic']['gpgcheck'] = true
default['yum']['atomic']['gpgkey'] = %w(
default['yum']['atomic-testing']['repositoryid'] = 'atomic-testing'
default['yum']['atomic-testing']['mirrorlist'] = '$releasever-$basearch'
default['yum']['atomic-testing']['description'] = 'CentOS / Red Hat Enterprise Linux $releasever - - (Testing)'
default['yum']['atomic-testing']['enabled'] = false
default['yum']['atomic-testing']['gpgcheck'] = false
default['yum']['atomic-testing']['gpgkey'] = %w(


  • 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 'atomic' do
    mirrorlist '$releasever-$basearch'
    description 'CentOS / Red Hat Enterprise Linux $releasever -'
    enabled true
    gpgcheck true
    gpgkey %w(

Usage Example

To disable the atomic repository through a Role or Environment definition

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

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

More Examples

Point the atomic repositories at an internally hosted server.

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

include_recipe 'yum-atomic'

License & Authors

Copyright 2015, Brian Hays

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.

yum-atomic cookbook CHANGELOG

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


  • Fix node.set deprecation warnings
  • Update kitchen platforms
  • Depend on compat_resource instead of yum
  • Thanks for the PR


  • Broader platform support


  • Add Scientific Linux to attribute files


  • Initial release

Collaborator Number Metric

0.2.0 failed this metric

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

Contributing File Metric

0.2.0 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

0.2.0 failed this metric

FC064: Ensure issues_url is set in metadata: yum-atomic/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-atomic/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-atomic/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-atomic/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.2.0 passed this metric

Testing File Metric

0.2.0 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

0.2.0 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