aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Desrochers <eric.desrochers@canonical.com>2018-11-09 15:59:19 -0500
committerBryn M. Reeves <bmr@redhat.com>2019-03-18 20:02:58 +0000
commit5d08c705b35211f22c12b997b3c1e58a4b150503 (patch)
treeaf0274b22a8677fa6f03c4a939c0f9175859ec5d
parent1388eacee11debd5a092269fcfd3b83dce78d37a (diff)
downloadsos-5d08c705b35211f22c12b997b3c1e58a4b150503.tar.gz
[juju] Add detection when juju is installed as a snap.
Conventional DEB package extract juju binary in /usr/bin/juju, but SNAP extract juju binary in /snap/bin/juju. Fixes: #1475 Resolves: #1476 Signed-off-by: Eric Desrochers eric.desrochers@canonical.com Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/juju.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/juju.py b/sos/plugins/juju.py
index 8d996041..4574bc66 100644
--- a/sos/plugins/juju.py
+++ b/sos/plugins/juju.py
@@ -37,7 +37,7 @@ class Juju(Plugin, UbuntuPlugin):
plugin_name = 'juju'
profiles = ('virt', 'sysmgmt')
- files = ('/usr/bin/juju', '/usr/bin/juju-run')
+ files = ('/usr/bin/juju', '/usr/bin/juju-run', '/snap/bin/juju')
option_list = [
('export-mongodb',