aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Quigley <bryan.quigley@canonical.com>2017-10-02 11:09:24 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-04-04 17:08:17 +0100
commit873f76aa7a613a93cbcca8337580e4669654243f (patch)
tree88448eb3e8a48e9361d54cbcef9340e114e6ab5a
parent17877febcbc953314bed905dcb3bdc77e14d7f23 (diff)
downloadsos-873f76aa7a613a93cbcca8337580e4669654243f.tar.gz
[postgresql] Run on -common package being present too
On Ubuntu and Debian the postgresql package is a meta package pointing to the latest postgresql package. It's not required to be installed to have postgresql. This adds checking for postgresql-common package which has to be installed if they are running a server. Resolves: #1103 Closes: #1117 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/postgresql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py
index 9ba696be..3ddd46fc 100644
--- a/sos/plugins/postgresql.py
+++ b/sos/plugins/postgresql.py
@@ -32,7 +32,7 @@ class PostgreSQL(Plugin):
plugin_name = "postgresql"
profiles = ('services',)
- packages = ('postgresql',)
+ packages = ('postgresql', 'postgresql-common')
password_warn_text = " (password visible in process listings)"