Resource Type: rhsm_config
- Defined in:
- lib/puppet/type/rhsm_config.rb
- Providers:
-
subscription_manager
Overview
Configure a system to user a Satellite or Spacewalk server.
Example:
rhsm_config { 'katello.example.com':
insecure => false,
port => 443,
prefix => '/rhsm',
ssl_verify_depth => 3,
baseurl => 'https://katello.example.com/pulp/repos',
ca_cert_dir => '/etc/rhsm/ca/',
consumercertdir => '/etc/pki/consumer',
entitlementcertdir => '/etc/pki/entitlement',
full_refresh_on_yum => true,
manage_repos => true,
pluginconfdir => '/etc/rhsm/pluginconf_d',
plugindir => '/usr/share/rhsm-plugins',
productcertdir => '/etc/pki/product',
repo_ca_cert => '/etc/rhsm/ca/ca.pem,'
report_package_profile => 1,
proxy_hostname => 'proxy.example.com',
proxy_port => '44443',
}
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
logging_default_log_level
The default log level for all loggers.
-
logging_rhsm
The log level for rhsm itself.
-
logging_rhsm_app
The log level for the rhsm-app ‘application.’
-
logging_subscription_manager
The log level for all subscription_manager modules. Not that sub-modules are not configurable by this.
-
rhsm_auto_enable_yum_plugins
(defaults to: 1)
Automatically enable subscription-manager and product-id?
Supported values:- true
- false
- 0
- 1
-
rhsm_baseurl
The content server. Usually a full URL of the Pulp service endpoint.
-
rhsm_ca_cert_dir
The CA certificate directory.
-
rhsm_consumercertdir
The Consumer certificate directory.
-
rhsm_entitlementcertdir
The certificate directory of the RHSM entitlements.
-
rhsm_full_refresh_on_yum
(defaults to: 0)
Force a Full refresh when yum is run?
Supported values:- true
- false
- 0
- 1
-
rhsm_manage_repos
(defaults to: 1)
Create and use a redhat.repo yum file?
Supported values:- true
- false
- 0
- 1
-
rhsm_pluginconfdir
The RHN Plugin configuration directory.
-
rhsm_plugindir
The RHN Plugin directory.
-
rhsm_productcertdir
The certificate directory of the RHSM Products.
-
rhsm_repo_ca_cert
Path to Repository CA certificates.
-
rhsm_repomd_gpg_url
URL for the repository GPG key
-
rhsm_report_package_profile
(defaults to: 1)
Should the package profile be reported?
Supported values:- true
- false
- 0
- 1
-
rhsmcertd_autoattachinterval
How long in minutes should rhsmcertd wait between checking for subscriptions to re-attach? 0 implies the default frequency of daily (1440 minutes).
-
rhsmcertd_certcheckinterval
Minutes for rhsmcertd to wait between checking the certificates.
-
rhsmd_processtimeout
Control how long to allow the rhsmd cron job to run
-
server_hostname
The rhsm server hostname.
-
server_insecure
(defaults to: 0)
Either use HTTP or do not verify the SSL ceriticate for HTTPS
Supported values:- true
- false
- 0
- 1
-
server_no_proxy
Proxy exception list
-
server_port
Port on the server for the RHSM service.
-
server_prefix
Path on the server for the Candlepin service.
-
server_proxy_hostname
The name of the proxy to connect through to reach the server.
-
server_proxy_password
Password for the proxy.
-
server_proxy_port
Proxy port to connect to
-
server_proxy_user
Proxy username
-
server_server_timeout
Server Timeout
-
server_ssl_verify_depth
How far up an intermediate chain should we check for SSL certificate signatures?
Parameters
-
name (namevar)
(defaults to: default_filename)
The configuration file
-
provider
The specific backend to use for this ‘rhsm_config` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.