From 0cb701b1b4492b8e7234991eef30b5ac77dbd328 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Tue, 14 Mar 2017 16:07:15 +0000 Subject: [PATCH] Package copy-schema-to-ca.py This reverts commit f4c7f1dd8a9ce530a8291219a904686ee47e59c7. --- freeipa.spec.in | 1 + ipaserver/install/cainstance.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index a8b5ce81fcf9bdb61cd3707e6b68b6f2196e0776..5fc0982188da4f7a3a1438bd5c67aac7bed195a8 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -1293,6 +1293,7 @@ fi # END %dir %{_usr}/share/ipa %{_usr}/share/ipa/wsgi.py* +%{_usr}/share/ipa/copy-schema-to-ca.py* %{_usr}/share/ipa/*.ldif %{_usr}/share/ipa/*.uldif %{_usr}/share/ipa/*.template diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index 62f79b28000b015edb66f4c39a270097ab3ed666..d876c5b385a250f3bd9c2689f9794ef7f89720a6 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -1311,9 +1311,11 @@ def replica_ca_install_check(config, promote): else: root_logger.critical( 'The master CA directory server does not have necessary schema. ' - 'Please run copy-schema-to-ca.py on all CA masters.\n' + 'Please copy the following script to all CA masters and run it ' + 'on them: %s\n' 'If you are certain that this is a false positive, use ' - '--skip-schema-check.') + '--skip-schema-check.', + os.path.join(paths.USR_SHARE_IPA_DIR, 'copy-schema-to-ca.py')) exit('IPA schema missing on master CA directory server') -- 2.9.5