From 1300381d45a23073261e62cb031cf4285a34f641 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Mon, 5 Dec 2016 13:39:42 +0100 Subject: [PATCH] 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 --- ipalib/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipalib/constants.py b/ipalib/constants.py index 80bbdbce0..81643da1b 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)