Classes
rhsm
: Subscribe the node to RHSM
rhsm
Subscribe the node to RHSM
Copyright 2014 Ger Apeldoorn, unless otherwise noted.
include rhsm
# Hierafile:
---
rhsm::rh_user: myuser
rhsm::rh_password: mypassword
The following parameters are available in the rhsm
class.
Data type: String
User for the Customer Portal. You need to specify either (rh_user and rh_password) or (org and activationkey)
Default value: undef
Data type: String
Password for the rh_user account
Default value: undef
Data type: String
Organization to use
Default value: undef
Data type: String
Activationkey to use
Default value: undef
Data type: String
Servername, default provided Used directly in rhsm.conf template
Default value: 'subscription.rhsm.redhat.com'
Data type: String
server.prefix to use Used directly in rhsm.conf template /rhsm for Satellite 6 /subscription for RHSM
Default value: '/subscription'
Data type: Integer
server.port to use Used directly in rhsm.conf template
Default value: 443
Data type: String
Server CA certificate location
Default value: '/etc/rhsm/ca/'
Data type: String
File containting the CA cert to use when generating yum repo configs katello-server-ca.pem for Satellite 6 redhat-uep.pem for RHSM
Default value: 'redhat-uep.pem'
Data type: String
URI, if set the content is used for CA file resource ${ca_cert_dir}/${repo_ca_cert_filename} Possible values are puppet:, file: and http:
Default value: undef
Data type: Integer
1 if subscription manager should manage yum repos file or 0 if the subscription is only used for tracking purposes
Default value: 1
Data type: Integer
rhsm.full_refresh_on_yum Used directly in rhsm.conf template 1 for Satellite 6 0 for RHSM
Default value: 0
Data type: String
Proxy hostname
Default value: undef
Data type: Integer
Proxy port
Default value: undef
Data type: String
Proxy user
Default value: undef
Data type: String
Proxy password
Default value: undef
Data type: String
Base URL for rhsm, default provided
Default value: 'https://cdn.redhat.com'
Data type: String
Whether to install subscription-manager
Default value: 'installed'
Data type: Optional[Array[String]]
nabled_repo_ids [Array[String] A listing of the Repo IDs to provide to the subscription-manager repo --enable command.
Default value: []
Copyright 2014 Ger Apeldoorn, unless otherwise noted.
rh_repo { "rhel-${::operatingsystemmajrelease}-server-extras-rpms":
ensure => present,
}