[Freeipa-devel] [freeipa PR#182][comment] Use env var IPA_CONFDIR to get confdir for 'cli' context

tiran freeipa-github-notification at redhat.com
Tue Oct 25 08:45:47 UTC 2016


  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


More information about the Freeipa-devel mailing list