From e56a1535b041c1ca1f398b54eda6bf04f1c1e33b Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Nov 18 2015 11:58:09 +0000 Subject: 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 --- diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index ae26444..0ee50a8 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)