diff options
author | Martin Basti <mbasti@redhat.com> | 2015-11-16 15:58:46 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-11-18 12:58:09 +0100 |
commit | e56a1535b041c1ca1f398b54eda6bf04f1c1e33b (patch) | |
tree | 809ce9fa3c36841156f9b3c8bce45a4626f206eb /ipatests | |
parent | 79f7c71e61698457ae63b4f67bf296859e3f12d1 (diff) | |
download | freeipa-e56a1535b041c1ca1f398b54eda6bf04f1c1e33b.tar.gz freeipa-e56a1535b041c1ca1f398b54eda6bf04f1c1e33b.tar.xz freeipa-e56a1535b041c1ca1f398b54eda6bf04f1c1e33b.zip |
CI test: Fix installation of KRA on a replica
With domain level 1 installation of KRA has been changed on replica.
https://fedorahosted.org/freeipa/ticket/5379
Reviewed-By: Ales 'alich' Marecek <amarecek@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r-- | ipatests/test_integration/tasks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index ae26444f6..0ee50a8e2 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -358,10 +358,11 @@ def install_replica(master, replica, setup_ca=True, setup_dns=False, assert setup_ca, "CA must be installed on replica with KRA" args = [ "ipa-kra-install", - replica_filename, "-p", replica.config.dirman_password, "-U", ] + if domainlevel(master) == 0: + args.append(replica_filename) replica.run_command(args) kinit_admin(replica) |