From 873f76aa7a613a93cbcca8337580e4669654243f Mon Sep 17 00:00:00 2001 From: Bryan Quigley Date: Mon, 2 Oct 2017 11:09:24 -0400 Subject: [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 Signed-off-by: Bryn M. Reeves --- sos/plugins/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- cgit