freeipa/ipaserver/install
Petr Viktorin b5c1ce88a4 Framework for admin/install tools, with ipa-ldap-updater
Currently, FreeIPA's install/admin scripts are long pieces of code
that aren't very reusable, importable, or testable.
They have been extended over time with features such as logging and
error handling, but since each tool was extended individually, there
is much inconsistency and code duplication.
This patch starts a framework which the admin tools can use, and
converts ipa-ldap-updater to use the framework.

Common tasks the tools do -- option parsing, validation, logging
setup, error handling -- are represented as methods. Individual
tools can extend, override or reuse the defaults as they see fit.

The ipa-ldap-updater has two modes (normal and --upgrade) that
don't share much functionality. They are represented by separate
classes. Option parsing, and selecting which class to run, happens
before they're instantiated.

All code is moved to importable modules to aid future testing. The
only thing that remains in the ipa-ldap-updater script is a two-line
call to the library.

First part of the work for:
https://fedorahosted.org/freeipa/ticket/2652
2012-07-22 23:17:56 -04:00
..
plugins Warn user if an ID range with incorrect size was created 2012-07-13 16:18:39 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
adtrustinstance.py Use DN objects instead of strings in adtrustinstance 2012-07-01 17:41:57 -04:00
bindinstance.py Don't hardcode serial_autoincrement to True. 2012-07-17 17:18:53 -04:00
cainstance.py Centralize timeout for waiting for servers to start. 2012-07-02 17:08:58 -04:00
certs.py Configure certmonger to execute restart scripts on renewal. 2012-04-10 01:08:41 -04:00
dsinstance.py Improve address family handling in sockets 2012-07-13 14:25:18 +02:00
httpinstance.py Only set sebools when necessary 2012-06-10 21:23:23 -04:00
installutils.py Framework for admin/install tools, with ipa-ldap-updater 2012-07-22 23:17:56 -04:00
ipa_ldap_updater.py Framework for admin/install tools, with ipa-ldap-updater 2012-07-22 23:17:56 -04:00
krbinstance.py Remove duplicate and unused utility code 2012-05-09 11:54:20 +02:00
ldapupdate.py Framework for admin/install tools, with ipa-ldap-updater 2012-07-22 23:17:56 -04:00
Makefile.am Add ipa-adtrust-install utility 2011-09-14 18:45:13 -04:00
memcacheinstance.py Add ipa_memcached service 2012-02-09 13:20:28 -06:00
ntpinstance.py ticket 2022 - modify codebase to utilize IPALogManager, obsoletes logging 2011-11-23 09:36:18 +01:00
replication.py Enable SOA serial autoincrement 2012-07-13 16:03:58 +02:00
service.py Centralize timeout for waiting for servers to start. 2012-07-02 17:08:58 -04:00
sysupgrade.py Add sysupgrade state file 2012-06-10 21:23:10 -04:00
upgradeinstance.py Centralize timeout for waiting for servers to start. 2012-07-02 17:08:58 -04:00