-
Notifications
You must be signed in to change notification settings - Fork 49
Description
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',
}
}