From 9aa14333a46d3a57c1fc9fad6068090eb029070f Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Mon, 10 Nov 2008 15:53:10 -0700 Subject: Added 'conf_dir' env variable, which is directory containing config files --- ipalib/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipalib/config.py') diff --git a/ipalib/config.py b/ipalib/config.py index aa7d9cdf3..1bec57e56 100644 --- a/ipalib/config.py +++ b/ipalib/config.py @@ -186,6 +186,8 @@ class Env(object): self.conf = path.join(base, '%s.conf' % self.context) if 'conf_default' not in self: self.conf_default = path.join(base, 'default.conf') + if 'conf_dir' not in self: + self.conf_dir = base def _finalize_core(self, **defaults): """ -- cgit