diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-22 15:14:46 -0400 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-22 15:14:46 -0400 |
commit | 4a31a2e91b1bb7a16e00db33954746adb824529d (patch) | |
tree | 92983d7113801101fc413e565170a8fabd2d630d | |
parent | 26b48eaff4e6366942c87c5a8a15ce16f911a5dc (diff) | |
download | sos-4a31a2e91b1bb7a16e00db33954746adb824529d.tar.gz |
[ubuntu] rename from ubuntu-support-status
In an attempt to keep distro specific collection (ie ubuntu-support-status)
create a general `Ubuntu` plugin to categorize this information. This will
be the default for other distributions needing to do the same.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/ubuntu.py (renamed from sos/plugins/ubuntu_support_status.py) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sos/plugins/ubuntu_support_status.py b/sos/plugins/ubuntu.py index f788d05c..12f46eed 100644 --- a/sos/plugins/ubuntu_support_status.py +++ b/sos/plugins/ubuntu.py @@ -15,22 +15,22 @@ from sos.plugins import Plugin, UbuntuPlugin -class UbuntuSupportStatus(Plugin, UbuntuPlugin): - """ Ubuntu-support-status Show packages support status +class Ubuntu(Plugin, UbuntuPlugin): + """ Ubuntu specific information """ - plugin_name = 'ubuntu_support_status' + plugin_name = 'ubuntu' option_list = [ - ('show-all', + ('support-show-all', 'Show all packages with their status', '', False), ] def setup(self): cmd = ["ubuntu-support-status"] - if self.get_option('show-all'): + if self.get_option('support-show-all'): cmd.append("--show-all") self.add_cmd_output(" ".join(cmd), - suggest_filename=self.plugin_name) + suggest_filename='ubuntu-support-status.txt') |