From 6f46afb1786f5d489d3820c85c30a357c8fcd770 Mon Sep 17 00:00:00 2001 From: David Luong Date: Fri, 5 Apr 2019 20:02:14 -0400 Subject: [manageiq] add postresql configuration path The most recent version of CloudForms adds postgres configuration files at: /etc/managiq/postgresql.conf.d/ Include these in the set of files collected by the plugin. Resolves: #1637 Signed-off by: David Luong Signed-off-by: Bryn M. Reeves --- sos/plugins/manageiq.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sos/plugins/manageiq.py b/sos/plugins/manageiq.py index 9d096324..ada7b137 100644 --- a/sos/plugins/manageiq.py +++ b/sos/plugins/manageiq.py @@ -71,7 +71,11 @@ class ManageIQ(Plugin, RedHatPlugin): self.add_copy_spec([ os.path.join(self.miq_log_dir, x) for x in self.miq_log_files ]) - self.add_copy_spec("/var/log/tower.log") + + self.add_copy_spec([ + "/var/log/tower.log", + "/etc/manageiq/postgresql.conf.d/*.conf" + ]) if environ.get("APPLIANCE_PG_DATA"): pg_dir = environ.get("APPLIANCE_PG_DATA") -- cgit