mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-27 00:26:33 -06:00
tests: use --setup-kra in tests
This will allow to test --setup-kra option together with ipa-server-install in install tests Separate installation using ipa-kra-install is already covered. https://pagure.io/freeipa/issue/6731 Reviewed-By: Jan Cholasta <jcholast@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
parent
4006cbbc02
commit
25fa2bb6c9
@ -275,6 +275,8 @@ def install_master(host, setup_dns=True, setup_kra=False, setup_adtrust=False,
|
||||
'--forwarder', host.config.dns_forwarder,
|
||||
'--auto-reverse'
|
||||
])
|
||||
if setup_kra:
|
||||
args.append('--setup-kra')
|
||||
if setup_adtrust:
|
||||
args.append('--setup-adtrust')
|
||||
|
||||
@ -284,13 +286,6 @@ def install_master(host, setup_dns=True, setup_kra=False, setup_adtrust=False,
|
||||
if result.returncode == 0:
|
||||
enable_replication_debugging(host)
|
||||
setup_sssd_debugging(host)
|
||||
if setup_kra:
|
||||
args = [
|
||||
"ipa-kra-install",
|
||||
"-p", host.config.dirman_password,
|
||||
"-U",
|
||||
]
|
||||
host.run_command(args)
|
||||
kinit_admin(host)
|
||||
return result
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user