cookbook 'rhsm', '~> 1.0.0'
rhsm (1) Versions 1.0.0 Follow5
Provides recipes to manage registration using RedHat Subscription Manager
cookbook 'rhsm', '~> 1.0.0', :supermarket
knife supermarket install rhsm
knife supermarket download rhsm
rhsm cookbook
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)
Dependent cookbooks
chef-sugar >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
rhsm Cookbook CHANGELOG
This file is used to list changes made in each version of the rhsm cookbook.
1.0.0
- Initial release
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: rhsm/metadata.rb:1
FC065: Ensure source_url is set in metadata: rhsm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rhsm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rhsm/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: rhsm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: rhsm/metadata.rb:1
FC065: Ensure source_url is set in metadata: rhsm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rhsm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rhsm/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: rhsm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: rhsm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rhsm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rhsm/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: rhsm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number