Skip to content

Instantly share code, notes, and snippets.

@andrewdmcleod
Last active June 7, 2016 10:04
Show Gist options
  • Save andrewdmcleod/9b317668dd9e4c4637874d542de2e188 to your computer and use it in GitHub Desktop.
Save andrewdmcleod/9b317668dd9e4c4637874d542de2e188 to your computer and use it in GitHub Desktop.
juju aliases
jgs() { juju run --unit $1 "charms.reactive --format=yaml get_states"; }
jdo() { juju action fetch --wait 0 $(juju action do $1 $2 | awk '{print $5}'); }
jupdate() { juju run --unit $1 'hooks/update-status'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment