Project

General

Profile

Actions

Feature #23500

closed

foreman-maintain should check for unsupported repos

Added by Amit Upadhye almost 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1548362

Description of problem:
Currently, foreman-maintain will do (on a downstream install):
subscription-manager repos --disable '*'
subscription-manager repos --enable <the_repos_we_need>

However, this does not take into account repos not managed by sub-man.

I think it would be beneficial if f-m could check `yum repolist` (or /etc/yum.repos.d) for any upstream (Foreman, Katello, Puppet, Pulp, Candlepin) repos and disable them/warn the user if such are found.

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.1.3-1.el7sat.noarch

Actions

Also available in: Atom PDF