From 1300381d45a23073261e62cb031cf4285a34f641 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Dec 05 2016 15:30:41 +0000 Subject: Add 'env_confdir' to constants Env confdir is always populated so it should be listed among variables set during a call to `Env._bootstrap()`. https://fedorahosted.org/freeipa/ticket/6389 Reviewed-By: Christian Heimes --- diff --git a/ipalib/constants.py b/ipalib/constants.py index 80bbdbc..81643da 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -221,6 +221,7 @@ DEFAULT_CONFIG = ( ('dot_ipa', object), # ~/.ipa directory ('context', object), # Name of context, default is 'default' ('confdir', object), # Directory containing config files + ('env_confdir', None), # conf dir specified by IPA_CONFDIR env variable ('conf', object), # File containing context specific config ('conf_default', object), # File containing context independent config ('plugins_on_demand', object), # Whether to finalize plugins on-demand (bool)