From d4ef64b229541200564131e927cd0b4b32662fe2 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 29 Oct 2020 09:28:20 -0400 Subject: [PATCH] ipatests: Collect the let's encrypt log Collect the let's encrypt client log for any potential debug purposes. https://pagure.io/freeipa/issue/8524 Signed-off-by: Rob Crittenden Reviewed-By: Fraser Tweedale Reviewed-By: Christian Heimes Reviewed-By: Alexander Bokovoy Reviewed-By: Rob Crittenden Reviewed-By: Mohammad Rizwan --- ipaplatform/base/paths.py | 1 + ipatests/pytest_ipa/integration/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index b46e661ad..8cf0b30f0 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -442,6 +442,7 @@ class BasePathNamespace: LIBARCH = "64" TDBTOOL = '/usr/bin/tdbtool' SECRETS_TDB = '/var/lib/samba/private/secrets.tdb' + LETS_ENCRYPT_LOG = '/var/log/letsencrypt/letsencrypt.log' def check_paths(self): """Check paths for missing files diff --git a/ipatests/pytest_ipa/integration/__init__.py b/ipatests/pytest_ipa/integration/__init__.py index 1e5400152..88ea6a172 100644 --- a/ipatests/pytest_ipa/integration/__init__.py +++ b/ipatests/pytest_ipa/integration/__init__.py @@ -80,6 +80,7 @@ CLASS_LOGFILES = [ paths.HOSTS, # IPA renewal lock paths.IPA_RENEWAL_LOCK, + paths.LETS_ENCRYPT_LOG ]