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
-- 
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