diff options
author | David Luong <dluong@redhat.com> | 2019-04-05 20:02:14 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-05-14 10:56:54 +0100 |
commit | 6f46afb1786f5d489d3820c85c30a357c8fcd770 (patch) | |
tree | 502e69762204e1ad7bafd87e6ac65c7acd3e2bf6 | |
parent | f65137b5cd3d3af4570cd2ea6bc7c4b43897cb9c (diff) | |
download | sos-6f46afb1786f5d489d3820c85c30a357c8fcd770.tar.gz |
[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 <dluong@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/manageiq.py | 6 |
1 files changed, 5 insertions, 1 deletions
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") |