aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Quigley <bryan.quigley@canonical.com>2015-08-17 11:17:40 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2015-08-17 13:27:08 -0400
commitebe0c95be7ad7b8061aaf9c9ce3379f33b4e1734 (patch)
treee5d5ed0a7b7c4d4c1f6a455b68925059c5b49159
parent1f83971325629cb3f470dac74de1be49f095118e (diff)
downloadsos-ebe0c95be7ad7b8061aaf9c9ce3379f33b4e1734.tar.gz
[landscape] Collect landscape status
The lsctl command gives more details on the current status of landscape. Closes #622 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/landscape.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/landscape.py b/sos/plugins/landscape.py
index bdda2505..7dfd4653 100644
--- a/sos/plugins/landscape.py
+++ b/sos/plugins/landscape.py
@@ -41,6 +41,7 @@ class Landscape(Plugin, UbuntuPlugin):
self.add_copy_spec("/var/log/landscape-server")
self.add_cmd_output("gpg --verify /etc/landscape/license.txt")
self.add_cmd_output("head -n 5 /etc/landscape/license.txt")
+ self.add_cmd_output("lsctl status")
def postproc(self):
self.do_file_sub(