Implementing Juju Actions
Gustavo Niemeyer
gustavo at niemeyer.net
Thu Mar 27 17:51:56 UTC 2014
On Thu, Mar 27, 2014 at 12:34 PM, Nate Finch <nate.finch at canonical.com> wrote:
> What's the difference between Actions and Set? If I do "juju set mysql
> admins=nate,bill" the mysql charm sees the updated admins, and performs some
> action (updating permissions in this case). How is that different from
> something like "juju do setadmins mysql nate,bill" ?
One handles configuration, a set of options that are persistent,
globally unique, defined at the service level.
The other handles actions, a set of independent and short lived tasks
that are individually queued and handled, either requested for a unit
or for a service.
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list