Actions
Bug #16388
closedRemoving katello-ca-consumer rpm should revert rhsm.conf
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Description
Description of problem:
if you install the katello-ca-consumer rpm and them remove it /etc/rhsm/rhsm.conf, doesnt revert back.
During install there is a backup created /etc/rhsm/rhsm.conf-kat-backup, we should copy this file to /etc/rhsm/rhsm.conf on removal.
Version-Release number of selected component (if applicable):
6.X
How reproducible:
100%
Steps to Reproduce:
1. ms5sum /etc/rhsm/rhsm.conf
2. rpm -Uvh http://<SATELLITE6>/pub/katello-ca-consumer-latest.noarch.rpm
3. rpm -e katello-ca-consumer
4. ms5sum /etc/rhsm/rhsm.conf
md5sum's should match.
Actual results:
the rhsm.conf pointing to Satellite is left after removing it
Expected results:
rhsm.conf should be restored from rhsm.conf-kat-backup
Actions