diff options
author | Eric Desrochers <eric.desrochers@canonical.com> | 2018-11-09 15:59:19 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-18 20:02:58 +0000 |
commit | 5d08c705b35211f22c12b997b3c1e58a4b150503 (patch) | |
tree | af0274b22a8677fa6f03c4a939c0f9175859ec5d | |
parent | 1388eacee11debd5a092269fcfd3b83dce78d37a (diff) | |
download | sos-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.py | 2 |
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', |