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

RSS

rhn-channels (6) Versions 1.2.0

Manages channel subscriptions to RHN satellite network.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'rhn-channels', '= 1.2.0'
cookbook 'rhn-channels', '= 1.2.0', :supermarket
knife cookbook site install rhn-channels
knife cookbook site download rhn-channels
README
Dependencies
Changelog
Quality 0%

rhn-channels Cookbook

This cookbook contains a LWRP to manage RHN channel subscriptions. This cookbook does not manage RHN node registration, for which you should use https://github.com/bflad/chef-rhn

Github repo: https://github.com/andrewfraley/chef-rhn-channels

Usage

LWRP

Add depends "rhn-channels" to your metadata.rb, then use the rhn_channel resource to add a channel to your system. Also see the included optional_repo.rb recipe for another example.

rhn_channel "rhel-x86_64-server-optional-6" do
    channel_name "rhel-x86_64-server-optional-6"
    username "RHNUSERNAME"
    password "RHNPASSWORD"
  action :add
 end

Alternatively, you can set node['rhn-channels']['rhn_user'] and node['rhn-channels']['rhn_pass'] and simply do: ruby rhn_channel "rhel-x86_64-server-optional-6" To remove a channel: ruby rhn_channel "rhel-x86_64-server-optional-6" do action :remove end Note that you do not need to set your username and password for RHEL 7

TODO

  • Provide a list of available RHEL channels

License and Authors

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

rhn-channels CHANGELOG

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

1.1.0

  • [Andy Fraley] - Added support for RHEL 7

1.0.0

  • [Andy Fraley] - Initial release of rhn-channels

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric
            

1.2.0 failed this metric

FC015: Consider converting definition to a LWRP: /tmp/cook/99f40e0d6d9c2c7f13ac6144/rhn-channels/definitions/rhn_channel.rb:1