aboutsummaryrefslogtreecommitdiffstats
path: root/example_plugins
diff options
context:
space:
mode:
authorBryan Quigley <bryan.quigley@canonical.com>2016-06-03 16:11:03 -0400
committerBryn M. Reeves <bmr@redhat.com>2016-10-25 15:08:38 +0100
commit42e3eacae5103efd032129ebfd3ff9fbdf1d722c (patch)
tree26dd5adf33148b83d953726f3575ab575dc08d5a /example_plugins
parent1ac836aa0582228feec594cd3b201d1dc5b5bb27 (diff)
downloadsos-42e3eacae5103efd032129ebfd3ff9fbdf1d722c.tar.gz
[juju] Get Ready for 2.0 and make it less likely to get too much
The package name juju is no longer the only way to install juju, so replace with checking /usr/bin/juju|juju-run. Juju-run is on machines deployed with juju. Logging still occurs there in same pattern - /var/log/juju/machinename.log. Juju "Local" logs were never seen in the wild and has been removed. Check that /var/log/juju/ exists before trying to access it. Check that /usr/bin/juju exists before trying to run it. Check that Juju's mongodb exists before trying to parse it. /var/lib/juju/ contains a database that can grow to many GB, let's not include that by default. Also explicitly specified juju formats tabular and json (in 2.0 tabular is the default and in 1.25 json is). And we also now explicitly capture the version. Fix up contrainsts and get-config/get so it works for both versions. Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
Diffstat (limited to 'example_plugins')
0 files changed, 0 insertions, 0 deletions