28 lines
1004 B
Diff
28 lines
1004 B
Diff
From ffa274fc72e0d56bca3389d3ba973459053c25f3 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Bokovoy <abokovoy@redhat.com>
|
|
Date: Tue, 20 Mar 2018 09:35:51 +0200
|
|
Subject: [PATCH 2/2] Make sure template dictionary has WSGI_PREFIX_DIR when
|
|
upgrading ipa.conf.template
|
|
|
|
Fixes https://pagure.io/freeipa/issue/7454
|
|
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
|
|
---
|
|
ipaserver/install/server/upgrade.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/ipaserver/install/server/upgrade.py b/ipaserver/install/server/upgrade.py
|
|
index a38f4115c..807d674d7 100644
|
|
--- a/ipaserver/install/server/upgrade.py
|
|
+++ b/ipaserver/install/server/upgrade.py
|
|
@@ -1651,6 +1651,7 @@ def upgrade_configuration():
|
|
|
|
ds_dirname = dsinstance.config_dirname(ds_serverid)
|
|
|
|
+ sub_dict['WSGI_PREFIX_DIR'] = paths.WSGI_PREFIX_DIR
|
|
upgrade_file(sub_dict, paths.HTTPD_IPA_CONF,
|
|
os.path.join(paths.USR_SHARE_IPA_DIR,
|
|
"ipa.conf.template"))
|
|
--
|
|
2.14.3
|
|
|