[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 14:48:29 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:
"""
Your proposals are hacks / workarounds, not a proper API to point ipa/ipalib to a custom configuration location. I'm proposing a proper API for integrators that works similar to ```KRB5_CONFIG``` (https://web.mit.edu/kerberos/krb5-1.14/doc/admin/env_variables.html). The PR is part of a larger effort to simplify integration of ipalib and ipa CLI into Ansible and other systems. Such integration needs to set ```KRB5_CONFIG``` anyway. It makes perfectly sense to have ```IPA_CONFDIR```, too. It's not ```IPA_CONFIG``` because a local enrolment needs ```ca.crt``` and ```nssdb```.

"""

See the full comment at https://github.com/freeipa/freeipa/pull/182#issuecomment-256056130


More information about the Freeipa-devel mailing list