The Identity, Policy and Audit system
Johnny Hughes
2018-05-14 ab4b7f7ca4a3a477df1cf61418f2d63755652dcc
commit | author | age
beb795 1 From 154c041a95be7e6cdbcc8e116ff0fc2a785d730f Mon Sep 17 00:00:00 2001
ac7d03 2 From: Jan Cholasta <jcholast@redhat.com>
CS 3 Date: Tue, 14 Mar 2017 16:07:15 +0000
4 Subject: [PATCH] Package copy-schema-to-ca.py
5
6 This reverts commit f4c7f1dd8a9ce530a8291219a904686ee47e59c7.
7 ---
8  freeipa.spec.in                 | 1 +
9  ipaserver/install/cainstance.py | 6 ++++--
10  2 files changed, 5 insertions(+), 2 deletions(-)
11
12 diff --git a/freeipa.spec.in b/freeipa.spec.in
beb795 13 index 80ae98c5515f64a8df8d981ad5e91b05c84e31c1..86189d56ded05dac695d3a7a19f726e197979dc5 100644
ac7d03 14 --- a/freeipa.spec.in
CS 15 +++ b/freeipa.spec.in
beb795 16 @@ -1292,6 +1292,7 @@ fi
ac7d03 17  # END
CS 18  %dir %{_usr}/share/ipa
19  %{_usr}/share/ipa/wsgi.py*
20 +%{_usr}/share/ipa/copy-schema-to-ca.py*
21  %{_usr}/share/ipa/*.ldif
22  %{_usr}/share/ipa/*.uldif
23  %{_usr}/share/ipa/*.template
24 diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py
beb795 25 index 20635eae22268ff72de73b8b9c430050114bb45b..190f8d851b3567638f8a41e2a4ce10e40e2ec1af 100644
ac7d03 26 --- a/ipaserver/install/cainstance.py
CS 27 +++ b/ipaserver/install/cainstance.py
beb795 28 @@ -1321,9 +1321,11 @@ def replica_ca_install_check(config, promote):
ac7d03 29      else:
CS 30          root_logger.critical(
31              'The master CA directory server does not have necessary schema. '
32 -            'Please run copy-schema-to-ca.py on all CA masters.\n'
33 +            'Please copy the following script to all CA masters and run it '
34 +            'on them: %s\n'
35              'If you are certain that this is a false positive, use '
36 -            '--skip-schema-check.')
37 +            '--skip-schema-check.',
38 +            os.path.join(paths.USR_SHARE_IPA_DIR, 'copy-schema-to-ca.py'))
39          exit('IPA schema missing on master CA directory server')
40  
41  
42 -- 
beb795 43 2.14.3
ac7d03 44