Skip to content
Cookbook to use RedHat Subscription Manager
Ruby Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
attributes
files/default
recipes
test/integration
.gitignore
.kitchen.yml
.travis.yml
Berksfile
CHANGELOG.md
Gemfile
LICENSE
README.md
Strainerfile
Thorfile
Vagrantfile
metadata.rb

README.md

rhsm cookbook

Cookbook Release Build Status

Cookbook to handle RedHat Subscription Management.

Github Repository: https://github.com/rightscale-cookbooks/rhsm

Requirements

  • Chef 11 or higher
  • Platform
    • RHEL 6
    • RHEL 7

Usage

To register the instance with the RedHat subscription service, run the rhsm::register recipe with the following attributes set:

  • node['rhsm']['username'] - RedHat account username
  • node['rhsm']['password'] - RedHat account password

To unregister the instance, run the rhsm::unregister recipe.

To register the instance and to unregister at shutdown, run the rhsm::default recipe setting the same attributes required for rhsm::register.

Attributes

  • node['rhsm']['username'] - RedHat account username
  • node['rhsm']['password'] - RedHat account password

Recipes

rhsm::default

Runs rhsm::register and setups a service to unregister the instance at shutdown.

rhsm::register

Registers instance with the RedHat subscription service.

rhsm::unregister

Unregisters instance with the RedHat subscription service.

Author

Author:: RightScale, Inc. (cookbooks@rightscale.com)

You can’t perform that action at this time.