diff options
-rw-r--r-- | sos/plugins/neutron.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sos/plugins/neutron.py b/sos/plugins/neutron.py index 03403227..23174330 100644 --- a/sos/plugins/neutron.py +++ b/sos/plugins/neutron.py @@ -139,6 +139,9 @@ class DebianNeutron(Neutron, DebianPlugin, UbuntuPlugin): 'python-%(comp)s', 'python-%(comp)sclient'] + def check_enabled(self): + return self.is_installed("%s-common" % self.component_name) + def setup(self): super(DebianNeutron, self).setup() self.packages = self.gen_pkg_tuple(self.package_list_template) @@ -166,6 +169,9 @@ class RedHatNeutron(Neutron, RedHatPlugin): 'python-%(comp)s', 'python-%(comp)sclient'] + def check_enabled(self): + return self.is_installed("openstack-%s" % self.component_name) + def setup(self): super(RedHatNeutron, self).setup() self.packages = self.gen_pkg_tuple(self.package_list_template) |