mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
tests: Add ipa_ca_name checking to DNS system records
freeipa-healthcheck 0.12 includes a SUCCESS message if the ipa-ca records are as expected so a user will know they were checked. For that version and beyond test that it is included. Related: https://pagure.io/freeipa/issue/9291 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
a5c99a6b04
commit
bf9797f27b
@ -810,7 +810,9 @@ class TestIpaHealthCheck(IntegrationTest):
|
||||
+ [str(ip) for ip in resolve_ip_addresses_nss(h.external_hostname)]
|
||||
]
|
||||
SYSTEM_RECORDS.append(f'"{self.master.domain.realm.upper()}"')
|
||||
|
||||
version = tasks.get_healthcheck_version(self.master)
|
||||
if parse_version(version) >= parse_version("0.12"):
|
||||
SYSTEM_RECORDS.append('ipa_ca_check')
|
||||
|
||||
returncode, data = run_healthcheck(
|
||||
self.master,
|
||||
|
Loading…
Reference in New Issue
Block a user