Per mikes comments.. i threw in a repo command. Output is below. It uses
the exisitng repo logic, and references the current status in the
rpeofile. The drawback is that there is no reference to the product
which provides the repo.
Thouhgts?
-- bk
[root@bkearney src]# ./subscription-manager repos --list
The system is entitled to the following repositories.
These can be managed at in the repo file /etc/yum.repos.d/redhat.repo.
RepoName: never-enabled-content
RepoUrl:
https://mockamai.devlab.phx1.redhat.com/foo/path/never
Enabled: 0
RepoName: always-enabled-content
RepoUrl:
https://mockamai.devlab.phx1.redhat.com/foo/path/always
Enabled: 1
RepoName: content
RepoUrl:
https://mockamai.devlab.phx1.redhat.com/foo/path
Enabled: 1