summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_integration/tasks.py')
-rw-r--r--ipatests/test_integration/tasks.py3
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)