[Freeipa-devel] [PATCH 0051] IPA server and replica installers can accept options from config file

Martin Babinsky mbabinsk at redhat.com
Wed Jul 29 10:20:16 UTC 2015


Initial attempt to implement
https://fedorahosted.org/freeipa/ticket/4517

Some points to discuss:

1.) name of the config entries: currently the option names are derived 
from CLI options but have underscores in them instead of dashes. Maybe 
keeping the CLI option names also for config entries will make it easier 
for the user to transfer their CLI options from scripts to config files.

2.) Config sections: there is currently only one valid section named 
'[global]' in accordance with the format of 'default.conf'. Should we 
have separate sections equivalent to option groups in CLI (e.g. [basic], 
[certificate system], [dns])?

3.) Handling of unattended mode when specifying a config file:
Currently there is no connection between --config-file and unattended 
mode. So when you run ipa-server-install using config file, you still 
get asked for missing stuff. Should '--config-file' automatically imply 
'--unattended'?

There are probably other issues to discuss. Feel free to write 
email/ping me on IRC.

-- 
Martin^3 Babinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mbabinsk-freeipa-0051-IPA-server-and-replica-installers-can-accept-options.patch
Type: text/x-patch
Size: 5535 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150729/97c13632/attachment.bin>


More information about the Freeipa-devel mailing list