diff options
author | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-07 14:29:24 +0200 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2014-08-07 14:29:24 +0200 |
commit | 3112796685a7e6ca6a22a64c0fc4d3d9c87b7092 (patch) | |
tree | 61b8bc155e0c7244fe797f6dc709113edabb0496 | |
parent | caf23010bd74a72b3a9580981afb763c1e1c5430 (diff) | |
download | sos-3112796685a7e6ca6a22a64c0fc4d3d9c87b7092.tar.gz |
[activemq] add Ubuntu support
These files are provided by default with an Ubuntu ActiveMq installation.
Fixes: GH#271
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/activemq.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sos/plugins/activemq.py b/sos/plugins/activemq.py index 7d8c419c..fb249d57 100644 --- a/sos/plugins/activemq.py +++ b/sos/plugins/activemq.py @@ -16,7 +16,7 @@ from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class ActiveMq(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): +class ActiveMq(Plugin, RedHatPlugin, DebianPlugin): """ActiveMQ related information """ @@ -27,3 +27,15 @@ class ActiveMq(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_copy_specs(list(self.files)) + + +class UbuntuActiveMq(UbuntuPlugin): + """ Ubuntu ActiveMQ information + """ + + def setup(self): + super(UbuntuActiveMq, self).setup() + self.add_copy_specs([ + '/etc/activemq', + '/etc/default/activemq' + ]) |