aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-05-24 21:57:56 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-06-07 11:52:14 +0100
commitbad9c969b8522aa9ec3e4840be302332ca69dd60 (patch)
treef6612bc4d0819996b4ce3f6ace364e25a712ce43
parented67ed1fed0ca4f961f214cc2d626b1c124779f3 (diff)
downloadsos-bad9c969b8522aa9ec3e4840be302332ca69dd60.tar.gz
[multiple plugins] Fix package list tuples
Fixes the nis, nfsganesha, and os_net_config plugins package lists to use a 1-tuple instead of a string that would break package verification for those plugins. Resolves: #1315 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/nfsganesha.py2
-rw-r--r--sos/plugins/nis.py2
-rw-r--r--sos/plugins/os_net_config.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/nfsganesha.py b/sos/plugins/nfsganesha.py
index b6048cc8..97a2763b 100644
--- a/sos/plugins/nfsganesha.py
+++ b/sos/plugins/nfsganesha.py
@@ -14,7 +14,7 @@ class NfsGanesha(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"""
plugin_name = 'nfsganesha'
profiles = ('storage', 'network', 'nfs')
- packages = ('nfs-ganesha')
+ packages = ('nfs-ganesha',)
def setup(self):
self.add_copy_spec([
diff --git a/sos/plugins/nis.py b/sos/plugins/nis.py
index f7df15f9..bf755223 100644
--- a/sos/plugins/nis.py
+++ b/sos/plugins/nis.py
@@ -18,7 +18,7 @@ class Nis(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
files = ('/var/yp', '/etc/ypserv.conf')
- packages = ('ypserv')
+ packages = ('ypserv',)
def setup(self):
self.add_copy_spec([
diff --git a/sos/plugins/os_net_config.py b/sos/plugins/os_net_config.py
index 11db584f..f244ff93 100644
--- a/sos/plugins/os_net_config.py
+++ b/sos/plugins/os_net_config.py
@@ -14,7 +14,7 @@ class OsNetConfig(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
plugin_name = "os_net_config"
profiles = ('openstack')
- packages = ('os-net-config')
+ packages = ('os-net-config',)
def setup(self):
self.add_copy_spec("/etc/os-net-config")