[Freeipa-devel] [PATCH 0035] Use default.conf as flag of IPA client being installed

Martin Kosek mkosek at redhat.com
Thu Feb 21 11:47:26 UTC 2013


On 02/20/2013 10:31 AM, Tomas Babej wrote:
> Hi,
> 
> When installing / uninstalling IPA client, the checks that
> determine whether IPA client is installed now take the existence
> of /etc/ipa/default.conf into consideration.
> 
> The client will not uninstall unless either something is backed
> up or /etc/ipa/default.conf file does exist.
> 
> The client will not install if something is backed up or
> default.conf file does exist (unless it's installation on master).
> 
> https://fedorahosted.org/freeipa/ticket/3331
> 
> Tomas
> 
>

Can we create a function testing if ipa client is installed to avoid
duplication of the decision logic? Something like is_ipa_configured present in
ipaserver/install/installutils.py.

Keep in mind that we cannot use ipaserver package as it may not be present on
client.

Martin




More information about the Freeipa-devel mailing list