|
|
86baa9 |
From bf981a8e9c5149aedeb1a7b5195aa52b8daf9f79 Mon Sep 17 00:00:00 2001
|
|
|
ac7d03 |
From: Jan Cholasta <jcholast@redhat.com>
|
|
|
ac7d03 |
Date: Tue, 14 Mar 2017 16:07:15 +0000
|
|
|
ac7d03 |
Subject: [PATCH] Package copy-schema-to-ca.py
|
|
|
ac7d03 |
|
|
|
ac7d03 |
This reverts commit f4c7f1dd8a9ce530a8291219a904686ee47e59c7.
|
|
|
ac7d03 |
---
|
|
|
ac7d03 |
freeipa.spec.in | 1 +
|
|
|
ac7d03 |
ipaserver/install/cainstance.py | 6 ++++--
|
|
|
ac7d03 |
2 files changed, 5 insertions(+), 2 deletions(-)
|
|
|
ac7d03 |
|
|
|
ac7d03 |
diff --git a/freeipa.spec.in b/freeipa.spec.in
|
|
|
86baa9 |
index a18a5b4aab335ad104f1263fa3ae8b26659c3095..093df7e2bb3d11381e37a6d150858c1f1680b61d 100644
|
|
|
ac7d03 |
--- a/freeipa.spec.in
|
|
|
ac7d03 |
+++ b/freeipa.spec.in
|
|
|
86baa9 |
@@ -1489,6 +1489,7 @@ fi
|
|
|
ac7d03 |
# END
|
|
|
ac7d03 |
%dir %{_usr}/share/ipa
|
|
|
ac7d03 |
%{_usr}/share/ipa/wsgi.py*
|
|
|
ac7d03 |
+%{_usr}/share/ipa/copy-schema-to-ca.py*
|
|
|
95ea96 |
%{_usr}/share/ipa/kdcproxy.wsgi
|
|
|
ac7d03 |
%{_usr}/share/ipa/*.ldif
|
|
|
ac7d03 |
%{_usr}/share/ipa/*.uldif
|
|
|
ac7d03 |
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
|
|
|
86baa9 |
index 1f22d120478a6d4019663281d3191a27a5ee09ea..6f49b8bfa88e00388aec17f26169aa3df399193d 100644
|
|
|
ac7d03 |
--- a/ipaserver/install/cainstance.py
|
|
|
ac7d03 |
+++ b/ipaserver/install/cainstance.py
|
|
|
86baa9 |
@@ -1579,9 +1579,11 @@ def replica_ca_install_check(config, promote):
|
|
|
ac7d03 |
else:
|
|
|
95ea96 |
logger.critical(
|
|
|
ac7d03 |
'The master CA directory server does not have necessary schema. '
|
|
|
ac7d03 |
- 'Please run copy-schema-to-ca.py on all CA masters.\n'
|
|
|
ac7d03 |
+ 'Please copy the following script to all CA masters and run it '
|
|
|
ac7d03 |
+ 'on them: %s\n'
|
|
|
ac7d03 |
'If you are certain that this is a false positive, use '
|
|
|
ac7d03 |
- '--skip-schema-check.')
|
|
|
ac7d03 |
+ '--skip-schema-check.',
|
|
|
ac7d03 |
+ os.path.join(paths.USR_SHARE_IPA_DIR, 'copy-schema-to-ca.py'))
|
|
|
95ea96 |
sys.exit('IPA schema missing on master CA directory server')
|
|
|
ac7d03 |
|
|
|
ac7d03 |
|
|
|
ac7d03 |
--
|
|
|
deb461 |
2.20.1
|
|
|
ac7d03 |
|