aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2022-02-10 13:42:01 +0100
committerJake Hunsaker <jhunsake@redhat.com>2022-02-14 09:36:02 -0500
commit8ac6293337b862ca94177f731fd95cadb8bdc7b5 (patch)
treeeda0ffba2de95b6eb3713359b5936aace0426e2a
parent6c7d26cde8f3364773ae61ff682d92d1a2d3e136 (diff)
downloadsos-8ac6293337b862ca94177f731fd95cadb8bdc7b5.tar.gz
[foreman-installer] collect foreman-maintain config and storage data
data.yml keeps status of foreman-maintain activitis in progress. foreman_maintain.yml contains foreman-maintain config. Resolves: #2847 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/report/plugins/foreman_installer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/report/plugins/foreman_installer.py b/sos/report/plugins/foreman_installer.py
index e74afb4b..e3cad2cd 100644
--- a/sos/report/plugins/foreman_installer.py
+++ b/sos/report/plugins/foreman_installer.py
@@ -25,6 +25,8 @@ class ForemanInstaller(Plugin, DebianPlugin, UbuntuPlugin):
"/etc/foreman-installer/*",
"/var/log/foreman-installer/*",
"/var/log/foreman-maintain/*",
+ "/var/lib/foreman-maintain/data.yml",
+ "/etc/foreman-maintain/foreman_maintain.yml",
# specifically collect .applied files
# that would be skipped otherwise as hidden files
"/etc/foreman-installer/scenarios.d/*/.applied",