[Freeipa-devel] [PATCH] 088 Check IPA configuration in install tools

Martin Kosek mkosek at redhat.com
Thu Jun 23 10:39:04 UTC 2011


On Wed, 2011-06-22 at 18:03 -0400, Rob Crittenden wrote:
> Martin Kosek wrote:
> > Install tools may fail with unexpected error when IPA server is not
> > installed on a system. Improve user experience by implementing
> > a check to affected tools.
> >
> > https://fedorahosted.org/freeipa/ticket/1327
> > https://fedorahosted.org/freeipa/ticket/1347
> 
> Can you add a docstring to the check_server_configuration() function?
> 
> Looking in each utility it isn't necessarily obvious what this does but 
> my meager attempts at renaming it all failed. I considered 
> is_server_installed() but that implies it would return True/False. Then 
> I considered require_server_configured() but that didn't seem to fit 
> either. We have lots of other check_* so I guess it is fine, but some 
> docs on where/why it is used would be nice.
> 
> rob

I see you undertake the same function naming dilemma as I do. I improved
documentation for the function, it should help.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-088-2-check-ipa-configuration-in-install-tools.patch
Type: text/x-patch
Size: 8890 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110623/a6eabbe9/attachment.bin>


More information about the Freeipa-devel mailing list