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-rhn-plugin (2) Versions 0.1.0

Installs/Configures yum-rhn-plugin

cookbook 'yum-rhn-plugin', '= 0.1.0', :supermarket
cookbook 'yum-rhn-plugin', '= 0.1.0'
knife supermarket install yum-rhn-plugin
knife supermarket download yum-rhn-plugin
Quality 100%

yum-rhn-plugin Cookbook

Cookbook for installing and configuring yum-rhn-plugin for use with RHN, Satellite, or Spacewalk

Supported platforms

  • EL 5.X platforms
  • EL 6.X platforms
  • EL 7.X platforms


Put depends 'yum-rhn-plugin' in your metadata.rb

Out of the box this cookbook will configure the standard [main] rhn channel after installation of yum plugin,
additional channels may be added via data bags.


['yum-rhn']['source'] - Set to specify location to obtain rpm from non yum-configured source. Leaving nil will install via yum.

['yum-rhn']['data_bag'] - Set to specify data bag to pull items as arrays for additional channels to add to plugin config

['yum-rhn']['main']['enabled'] - 1/0 bit to enable/disable main rhn channel

['yum-rhn']['main']['gpg-check'] - 1/0 bit to enable/disable GPG checks for main channel

Data Bag Items

For each channel you wish to configure, add a data bag item like so:

        "id": "channel1",
        "channel": "some-channel",
        "enabled": "1",
        "gpg-check: "0"

will create:


::default - Installs yum-rhn-plugin then includes ::config

::config - Configures yum-rhn plugin


Author:: Drew Rapenchuk (

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

0.1.0 passed this metric