From 84c30742254a536f70bb4217756416bcf0e8a51b Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Thu, 9 Aug 2018 18:14:56 +0200 Subject: [policies] enable RHOSP preset by presence of rhosp-release package Resolves: #1395 Signed-off-by: Pavel Moravec --- sos/policies/redhat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index ee687d46..5bfbade2 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -315,6 +315,8 @@ No changes will be made to system configuration. # Package based checks if self.pkg_by_name("satellite-common") is not None: return self.find_preset(RH_SATELLITE) + if self.pkg_by_name("rhosp-release") is not None: + return self.find_preset(RHOSP) # Vanilla RHEL is default return self.find_preset(RHEL) -- cgit