#2652 Framework for admin/install tools
Closed: Fixed None Opened 9 years ago by pviktori.

Our install and admin tools need a common way to set up logging, decline non-root users, report errors, parse options, etc.
Currently the code is duplicated, with subtle differences, between all the tools.

Take the common parts out into a mini-framework or set of helpers.


Moving to next month iteration.

master: b5c1ce8

The framework is in place, only ipa-ldap-updater has been convered. Other installers will be converted over time.

Tune framework to add better logging:

master: 55cfd06

Convert ipa-replica-prepare:

master: 26c4987

ipa-server-certinstall was converted as part of #3641

Note: in ipa-replica-manage, we should make sure the tool is not asking on stderr, see #3873

Tickets that this will make easier to fix:

  • 4468 Make ipa-server-install (and friends) into python libraries

  • 4040 ipa-client-install should read password from an environment variable

Framework was mostly developed 3 years ago in

It remained opened to migrate existing tools to the framework.

Separate tickets should be opened for each tool to migrate to decompose the work into several smaller item and thus enable to do it gradually.

Therefore closing this ticket.

Metadata Update from @pviktori:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.2 - 2013/04-05 (GA)

4 years ago

Login to comment on this ticket.

Metadata