URL: https://github.com/freeipa/freeipa/pull/182
Title: #182: Use env var IPA_CONFDIR to get confdir for 'cli' context

tiran commented:
"""
It's explained in the title. The ```-e confdir=/path/to/confdir``` only works 
for ipa command. The env var affects all ```cli``` contexts including custom 
Python script that use ipalib and ipaclient libs directly.

Also it is much easier to set an env var in a shell session than to add a 
lengthy argument to every call of the ```ipa``` command.
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/182#issuecomment-255974930
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to