CI test: fix regression in task.install_kra

ipa-kra-install needs directory manager password

Regression caused by c4b9b295d8

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Martin Basti 2016-01-14 10:23:11 +01:00
parent 2320be18a3
commit 26899c91af

View File

@ -957,7 +957,7 @@ def ipa_restore(master, backup_path):
def install_kra(host, domain_level=None, first_instance=False, raiseonerr=True):
if domain_level is None:
domain_level = domainlevel(host)
command = ["ipa-kra-install", "-U"]
command = ["ipa-kra-install", "-U", "-p", host.config.dirman_password]
if domain_level == DOMAIN_LEVEL_0 and not first_instance:
replica_file = get_replica_filename(host)
command.append(replica_file)