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

Tomas Babej tbabej at redhat.com
Thu Feb 21 12:29:49 UTC 2013


On 02/21/2013 12:47 PM, Martin Kosek wrote:
> 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
Moved to is_ipa_client_installed function to ipautils.py

Updated patch attached.

Tomas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130221/d67c7fcf/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0035-2-Use-default.conf-as-flag-of-IPA-client-being-install.patch
Type: text/x-patch
Size: 3487 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130221/d67c7fcf/attachment.bin>


More information about the Freeipa-devel mailing list