|
|
23f808 |
From c3586321aa82bd4e12e70c8463b85c2e3888c510 Mon Sep 17 00:00:00 2001
|
|
|
23f808 |
From: Rob Crittenden <rcritten@redhat.com>
|
|
|
23f808 |
Date: Fri, 9 Aug 2019 09:34:14 -0400
|
|
|
23f808 |
Subject: [PATCH 8/8] Rename misspelled sslctl to sssctl for the SSSD control
|
|
|
23f808 |
script
|
|
|
23f808 |
|
|
|
23f808 |
---
|
|
|
23f808 |
src/ipahealthcheck/ipa/trust.py | 12 ++++++------
|
|
|
23f808 |
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
23f808 |
|
|
|
23f808 |
diff --git a/src/ipahealthcheck/ipa/trust.py b/src/ipahealthcheck/ipa/trust.py
|
|
|
23f808 |
index 6c5978d..cb18378 100644
|
|
|
23f808 |
--- a/src/ipahealthcheck/ipa/trust.py
|
|
|
23f808 |
+++ b/src/ipahealthcheck/ipa/trust.py
|
|
|
23f808 |
@@ -127,9 +127,9 @@ class IPATrustDomainsCheck(IPAPlugin):
|
|
|
23f808 |
if result.returncode != 0:
|
|
|
23f808 |
yield Result(self, constants.ERROR,
|
|
|
23f808 |
key='domain_list_error',
|
|
|
23f808 |
- sslctl=paths.SSSCTL,
|
|
|
23f808 |
+ sssctl=paths.SSSCTL,
|
|
|
23f808 |
error=result.error_log,
|
|
|
23f808 |
- msg='Execution of {sslctl} failed: {error}')
|
|
|
23f808 |
+ msg='Execution of {sssctl} failed: {error}')
|
|
|
23f808 |
return
|
|
|
23f808 |
sssd_domains = result.output.strip().split('\n')
|
|
|
23f808 |
if 'implicit_files' in sssd_domains:
|
|
|
23f808 |
@@ -152,8 +152,8 @@ class IPATrustDomainsCheck(IPAPlugin):
|
|
|
23f808 |
else:
|
|
|
23f808 |
yield Result(self, constants.ERROR,
|
|
|
23f808 |
key=api.env.domain,
|
|
|
23f808 |
- sslctl=paths.SSSCTL,
|
|
|
23f808 |
- msg='{key} not in {sslctl} domain-list')
|
|
|
23f808 |
+ sssctl=paths.SSSCTL,
|
|
|
23f808 |
+ msg='{key} not in {sssctl} domain-list')
|
|
|
23f808 |
|
|
|
23f808 |
trust_domains_out = ', '.join(trust_domains)
|
|
|
23f808 |
sssd_domains_out = ', '.join(sssd_domains)
|
|
|
23f808 |
@@ -161,10 +161,10 @@ class IPATrustDomainsCheck(IPAPlugin):
|
|
|
23f808 |
if set(trust_domains).symmetric_difference(set(sssd_domains)):
|
|
|
23f808 |
yield Result(self, constants.ERROR,
|
|
|
23f808 |
key='domain-list',
|
|
|
23f808 |
- sslctl=paths.SSSCTL,
|
|
|
23f808 |
+ sssctl=paths.SSSCTL,
|
|
|
23f808 |
sssd_domains=sssd_domains_out,
|
|
|
23f808 |
trust_domains=trust_domains_out,
|
|
|
23f808 |
- msg='{sslctl} {key} reports mismatch: '
|
|
|
23f808 |
+ msg='{sssctl} {key} reports mismatch: '
|
|
|
23f808 |
'sssd domains {sssd_domains} '
|
|
|
23f808 |
'trust domains {trust_domains}')
|
|
|
23f808 |
else:
|
|
|
23f808 |
--
|
|
|
23f808 |
2.20.1
|
|
|
23f808 |
|