#5341 ipa-server-install uninstall should warn if no installation found
Closed: Fixed Opened by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1267206

Description of problem:
`ipa-server-install --uninstall -U` should warn user if no installation of
ipa-server is found on machine. This is behavior should be same as
'ipa-server-install --install' where command checks for previous installation
of ipa-server.
Version-Release number of selected component (if applicable):
ipa-server-4.2.0-12.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Install IPA server
2. Uninstall IPA server
3. again start un-installation of IPA server
Actual results:
ipa-server-install command always perform un-installation steps irrespective of
installed instance of IPA server
Expected results:
2nd and subsequent time of un-installation of ipa-server should check install
instance of IPA server.
Additional info:

moving to 4.2.3 and not Future releases given that a patch is available

Only warning message is shown, the installer/uninstaller should be idempotent.

master:

  • a0b8415236addf0ff32b9e05b2491d626d483171 Warn if no installation found when running ipa-server-install --uninstall

ipa-4-2:

  • 85dc0c2e3a396ff7d8d429a414b717cc01231b26 Warn if no installation found when running ipa-server-install --uninstall

Metadata Update from @pvoborni:
- Issue assigned to rga
- Issue set to the milestone: FreeIPA 4.2.3

Metadata