Juju Run now in development release.

Andrew Wilkins andrew.wilkins at canonical.com
Tue Feb 4 09:08:50 UTC 2014


On Tue, Feb 4, 2014 at 4:38 PM, Stuart Bishop
<stuart.bishop at canonical.com>wrote:

> On Tue, Feb 4, 2014 at 3:17 PM, Jorge O. Castro <jorge at ubuntu.com> wrote:
>
> > Also forgot to mention, on the remote instances you can do `juju-run`
> > and this will run commands in a _hook context_, that should make it
> > handy for those of you writing charms.
>
> Oh, this is going to be very useful to me.
>
> It does mean that every unit has root on every other unit in the
> relationship web (or perhaps every unit in the environment). Is this
> going to be a problem?
>

The juju-run hook command is restricted to units on the same machine.
Running "juju run" (i.e. via the Juju CLI, not a hook command) is how you
run in the context of units on other machines, and that requires an API
that is restricted to admin users.

Tim, please correct me if I'm wrong.


>
> --
> Stuart Bishop <stuart.bishop at canonical.com>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140204/dec0e852/attachment.html>


More information about the Juju mailing list