summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index 503534f9f..142b3e60d 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -713,6 +713,15 @@ class API(ReadOnly):
self.__doing('finalize')
self.__do_if_not_done('load_plugins')
+ if self.env.env_confdir is not None:
+ if self.env.env_confdir == self.env.confdir:
+ self.log.info(
+ "IPA_CONFDIR env sets confdir to '%s'.", self.env.confdir)
+ else:
+ self.log.warn(
+ "IPA_CONFDIR env is overridden by an explicit confdir "
+ "argument.")
+
for plugin in self.__plugins:
if not self.env.validate_api:
if plugin.full_name not in DEFAULT_PLUGINS: