Bug #16388
Removing katello-ca-consumer rpm should revert rhsm.conf
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
Associated revisions
History
#1
Updated by Justin Sherrill over 4 years ago
- Status changed from New to Closed
- Legacy Backlogs Release (now unused) set to 162
- Difficulty set to medium
- Pull request https://github.com/Katello/puppet-certs/pull/104 added
Fixes #16388 - rpm -e katello-ca-consumer rpm should revert rhsm.conf (#104)