aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-30 17:23:50 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-30 17:23:50 +0000
commit8e63bc2567e1a1a6a77531a01f84dae08cb2814d (patch)
tree2557f7b0dba80d28c29967e0a69114b3ccc9aa2a
parent80c9045324e3148495f9c45b5ff80b5241d7bc8f (diff)
downloadsos-8e63bc2567e1a1a6a77531a01f84dae08cb2814d.tar.gz
Fix satellite and proxy package detection in rhn plugin
-rw-r--r--sos/plugins/rhn.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sos/plugins/rhn.py b/sos/plugins/rhn.py
index c94d17b1..eb12c818 100644
--- a/sos/plugins/rhn.py
+++ b/sos/plugins/rhn.py
@@ -27,11 +27,11 @@ class rhn(Plugin, RedHatPlugin):
def checkenabled(self):
self.satellite = self.isInstalled("rhns-satellite-tools") \
- or self.isInstalled("spacewalk-proxy-management") \
- or self.isInstalled("rhn-proxy-management")
+ or self.isInstalled("spacewalk-java") \
+ or self.isInstalled("rhn-base")
self.proxy = self.isInstalled("rhns-proxy-tools") \
- or self.isInstalled("spacewalk-java") \
- or self.isInstalled("rhn-base")
+ or self.isInstalled("spacewalk-proxy-management") \
+ or self.isInstalled("rhn-proxy-management")
return self.satellite or self.proxy