Install subscription-manager Package
An XCCDF Rule
Description
The subscription-manager
package can be installed with the following command:
$ sudo yum install subscription-manager
Rationale
Red Hat Subscription Manager is a local service which tracks installed products and subscriptions on a local system to help manage subscription assignments. It communicates with the backend subscription service (the Customer Portal or an on-premise server such as Subscription Asset Manager) and works with content management tools such as .
- ID
- xccdf_org.ssgproject.content_rule_package_subscription-manager_installed
- Severity
- Medium
- References
- Updated
Remediation - Anaconda Pre-Install Instructions
package --add=subscription-manager
Remediation - OS Build Blueprint
[[packages]]
name = "subscription-manager"
version = "*"
Remediation - Ansible
- name: Ensure subscription-manager is installed
package:
name: subscription-manager
state: present
tags:
- CCE-82638-8
Remediation - Puppet
include install_subscription-manager
class install_subscription-manager {
package { 'subscription-manager':
ensure => 'installed',
}
Remediation - Shell Script
if ! rpm -q --quiet "subscription-manager" ; then
yum install -y "subscription-manager"
fi