[Freeipa-devel] [PATCH] jderose 005 improve Env in-tree behaviour
Jason Gerard DeRose
jderose at redhat.com
Mon May 11 09:00:44 UTC 2009
Breakage warning: this patch renames the api.env 'conf_dir' variable to
'confdir'. greppin' through the tree showed that this var wasn't being
used by any of the built-in plugins, but 3rd party plugins should take
note.
This patch does some cleanup with regard to how the automagic Env
variables are generated when in-tree vs. when installed. It:
* Correctly forces the xmlrpc tests to run with in_tree=True so config
files possibly installed in /etc/ipa/ aren't read, can't break the
test. On my VM this was causing the test to run against the
installed IPA mod_python server rather than the in-tree
lite-xmlrpc.py script.
* Fixes Env._finalize_core() and Env._finalize() unit tests so they run
with in_tree=True so possible files in /etc/ipa/ don't cause problems.
* Renames env.conf_dir to env.confdir. env.conf now defaults to
<confdir>/<context>.conf
* Adds env.logdir variable. env.log now defaults to <logdir>/<context>.log
* Does some other misc. Env cleanup.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jderose-005-improve-Env-in-tree-behaviour.patch
Type: text/x-patch
Size: 17706 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090511/2812ab10/attachment.bin>
More information about the Freeipa-devel
mailing list