diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2009-05-11 02:34:52 -0600 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-05-11 16:17:08 -0400 |
commit | ae38a2461fec2aaa39b18a613e3d127a25fc5fe7 (patch) | |
tree | 8bacd1a7ef865063a8c114294d71c669135a3417 /ipalib/constants.py | |
parent | 1dd85475fc0b646878285b55aef71e11951a9b83 (diff) | |
download | freeipa-ae38a2461fec2aaa39b18a613e3d127a25fc5fe7.tar.gz freeipa-ae38a2461fec2aaa39b18a613e3d127a25fc5fe7.tar.xz freeipa-ae38a2461fec2aaa39b18a613e3d127a25fc5fe7.zip |
Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r-- | ipalib/constants.py | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py index e3220fd20..1016386d8 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -124,36 +124,36 @@ DEFAULT_CONFIG = ( # The remaining keys are never set from the values here! # ******************************************************** # - # Env.__init__() or Env._bootstrap() or Env._finalize_core() - # will have filled in all the keys below by the time DEFAULT_CONFIG - # is merged in, so the values below are never actually used. They are - # listed both to provide a big picture and also so DEFAULT_CONFIG contains - # at least all the keys that should be present after Env._finalize_core() - # is called. + # Env._bootstrap() or Env._finalize_core() will have filled in all the keys + # below by the time DEFAULT_CONFIG is merged in, so the values below are + # never actually used. They are listed both to provide a big picture and + # also so DEFAULT_CONFIG contains at least all the keys that should be + # present after Env._finalize_core() is called. # # Each environment variable below is sent to ``object``, which just happens # to be an invalid value for an environment variable, so if for some reason # any of these keys were set from the values here, an exception will be # raised. - # Set in Env.__init__(): + # Non-overridable vars set in Env._bootstrap(): ('host', object), - ('ipalib', object), # The directory containing ipalib/__init__.py - ('site_packages', object), # The directory contaning ipalib - ('script', object), # sys.argv[0] - ('bin', object), # The directory containing script - ('home', object), # The home directory of user underwhich process is running - ('dot_ipa', object), # ~/.ipa directory - - # Set in Env._bootstrap(): - ('in_tree', object), # Whether or not running in-tree (bool) - ('context', object), # Name of context, default is 'default' - ('conf', object), # Path to config file - ('conf_default', object), # Path to common default config file - ('conf_dir', object), # Directory containing config files + ('ipalib', object), # The directory containing ipalib/__init__.py + ('site_packages', object), # The directory contaning ipalib + ('script', object), # sys.argv[0] + ('bin', object), # The directory containing the script + ('home', object), # $HOME + + # Vars set in Env._bootstrap(): + ('in_tree', object), # Whether or not running in-tree (bool) + ('dot_ipa', object), # ~/.ipa directory + ('context', object), # Name of context, default is 'default' + ('confdir', object), # Directory containing config files + ('conf', object), # File containing context specific config + ('conf_default', object), # File containing context independent config # Set in Env._finalize_core(): - ('in_server', object), # Whether or not running in-server (bool) - ('log', object), # Path to log file + ('in_server', object), # Whether or not running in-server (bool) + ('logdir', object), # Directory containing log files + ('log', object), # Path to context specific log file ) |