URL: https://github.com/freeipa/freeipa/pull/308
Author: martbab
 Title: #308: Add 'env_confdir' to constants
Action: opened

PR body:
"""
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
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/308/head:pr308
git checkout pr308
From 26635cf3591e23fe437ec6f51d7e56a33227a6ad Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
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
---
 ipalib/constants.py | 1 +
 1 file changed, 1 insertion(+)

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 @@
     ('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)
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to