Skip to content

Install libdnf-plugin-subscription-manager Package

An XCCDF Rule

Description

The libdnf-plugin-subscription-manager package can be installed with the following command:

$ sudo dnf install libdnf-plugin-subscription-manager

Rationale

This package provides plugins to interact with repositories and subscriptions from the Red Hat entitlement platform; contains subscription-manager and product-id plugins.

ID
xccdf_org.ssgproject.content_rule_package_libdnf-plugin-subscription-manager_installed
Severity
Medium
References
Updated



Remediation - Puppet

include install_libdnf-plugin-subscription-manager

class install_libdnf-plugin-subscription-manager {
  package { 'libdnf-plugin-subscription-manager':
    ensure => 'installed',
  }

Remediation - Ansible

- name: Ensure libdnf-plugin-subscription-manager is installed
  package:
    name: libdnf-plugin-subscription-manager
    state: present
  tags:
  - CCE-88703-4

Remediation - script:kickstart


package install libdnf-plugin-subscription-manager

Remediation - OS Build Blueprint


[[packages]]
name = "libdnf-plugin-subscription-manager"
version = "*"

Remediation - script:bootc


dnf install libdnf-plugin-subscription-manager

Remediation - Anaconda Pre-Install Instructions


package --add=libdnf-plugin-subscription-manager

Remediation - Shell Script


if ! rpm -q --quiet "libdnf-plugin-subscription-manager" ; then
    dnf install -y "libdnf-plugin-subscription-manager"
fi