From 76e7888a46019d7a94235077e354e6559eee2e4b Mon Sep 17 00:00:00 2001 From: Raphael Badin Date: Mon, 6 Jan 2014 15:01:40 +0100 Subject: Capture /var/log/apache2. Capture the versions of relevant packages. Fixes #227 Signed-off-by: Raphael Badin Signed-off-by: Adam Stokes --- sos/plugins/maas.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/sos/plugins/maas.py b/sos/plugins/maas.py index 2fd6be35..2d6c6499 100644 --- a/sos/plugins/maas.py +++ b/sos/plugins/maas.py @@ -17,15 +17,19 @@ from sos.plugins import Plugin, UbuntuPlugin class Maas(Plugin, UbuntuPlugin): - """ MAAS Plugin + """MAAS Plugin """ plugin_name = 'maas' def setup(self): - self.add_copy_specs(["/etc/squid-deb-proxy", - "/etc/maas", - "/var/lib/maas/dhcp*", - "/var/log/maas*"]) + self.add_copy_specs([ + "/etc/squid-deb-proxy", + "/etc/maas", + "/var/lib/maas/dhcp*", + "/var/log/apache2*", + "/var/log/maas*", + ]) + self.add_cmd_output("apt-cache policy maas-*") + self.add_cmd_output("apt-cache policy python-django-*") self.add_cmd_output("maas dumpdata") - -- cgit