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.
I've started on this
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
Also pushed to ipa-3-1:
f6a5647[[br]] e437491
ipa-server-certinstall was converted as part of #3641
ipa-server-certinstall
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:
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)
Login to comment on this ticket.