Modify error message to install first instance of KRA

First instance of KRA should be installed by ipa-kra-install.

https://fedorahosted.org/freeipa/ticket/5460

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Martin Basti
2015-12-02 17:21:32 +01:00
parent efeb7d54ba
commit bbbe411f35
+3 -1
View File
@@ -36,7 +36,9 @@ def install_check(api, replica_config, options):
if replica_config is not None:
if not api.Command.kra_is_enabled()['result']:
raise RuntimeError("KRA is not installed on the master system")
raise RuntimeError(
"KRA is not installed on the master system. Please use "
"'ipa-kra-install' command to install the first instance.")
if options.promote:
return