cookbook 'rhn-channels', '= 1.0.0', :supermarket
rhn-channels (6) Versions 1.0.0 Follow3
Manages channel subscriptions to RHN satellite network.
cookbook 'rhn-channels', '= 1.0.0'
knife supermarket install rhn-channels
knife supermarket download rhn-channels
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
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" end
Alternatively, you can set node['rhn-channels']['rhn_user'] and node['rhn-channels']['rhn_pass'] and simply do:
- Add support for removing rhn-channels
- Provide a list of available RHEL channels
License and Authors
- License: MIT
- Author: https://github.com/andrewfraley
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.