Cookbook to handle RedHat Subscription Management.
Github Repository: https://github.com/rightscale-cookbooks/rhsm
- Chef 11 or higher
- Platform
- RHEL 6
- RHEL 7
To register the instance with the RedHat subscription service, run the rhsm::register
recipe with the following attributes set:
node['rhsm']['username']
- RedHat account usernamenode['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
.
node['rhsm']['username']
- RedHat account usernamenode['rhsm']['password']
- RedHat account password
Runs rhsm::register
and setups a service to unregister the instance at shutdown.
Registers instance with the RedHat subscription service.
Unregisters instance with the RedHat subscription service.
Author:: RightScale, Inc. ([email protected])