You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Register clients to Red Hat Subscription management using a username and password is ok but i have a problem when i want to had or delete a repo. It's not ok with this conf
Hi,
Thanks a lot for your module.
Register clients to Red Hat Subscription management using a username and password is ok but i have a problem when i want to had or delete a repo. It's not ok with this conf
can you have an idea?
Regards
my conf in manifests/config.pp
subscription_manager Configuration
class subscription_manager::config {
file { '/etc/rhsm/rhsm.conf':
ensure => 'file',
content => template('subscription_manager/rhsm.conf.erb'),
owner => 'root',
group => 'root',
mode => '0644',
}
rhsm_register { 'subscription.rhsm.redhat.com':
username => 'rhn-user',
password => 'password',
org => 'xxxxxxxx',
autosubscribe => true,
force => true,
}
rhsm_repo { 'rhel-7-server-optional-rpms':
ensure => 'absent',
}
rhsm_repo { 'rhel-7-server-supplementary-rpms': }
rhsm_repo { 'rhel-sap-for-rhel-7-server-rpms':
ensure => 'absent',
}
}
The text was updated successfully, but these errors were encountered: