Juju Actions - Use Cases

Charles Butler charles.butler at canonical.com
Wed Sep 10 06:56:57 UTC 2014


There are a slew of opportunities for Actions to step in here, and I've got
a few use cases listed below:


   - HDFS file system operations in Big-Data scenarios
   - dump/warm cache on proxy services like Varnish
   - Ingest data-sources with any database (ex: load twitter hash-tag data
   into ElasticSearch)
   - Rebuild indexes in MongoDB
   - Trigger deployment from source-control on framework based charms
   (Rails, NodeJS, CakePHP)
      - as an interesting aside, we are kind of brute forcing this with
      config... which it really appears that an action would be better
suited to
      this task for things like, say, CI
   - Generating passwords post deployment for admin accounts instead of
   dumping a random pass in the logs or to /var/myservice/itsasecret.pwd
   - executing framework actions (eg: rake db:seed on rails)
   - Deploying additional demo assets in existing charms (see the demo.sh
   in the elasticsearch bundle)



These are just a few to kick this conversation into gear as other's come
into it and start brain bending around where their charm could benefit from
an action.

all the best,

Charles

On Wed, Sep 10, 2014 at 12:23 AM, Tim Penhey <tim.penhey at canonical.com>
wrote:

> On 10/09/14 06:59, John Weldon wrote:
> > Hi;
> >
> > We're looking for use cases for Juju Actions, mostly to make sure we
> > expose the right API.
> >
> > I'm hoping for a few different use cases from the Juju Web UI folks, but
> > I'd appreciate input from anyone wanting to use Juju Actions in their
> > charms too.
> >
> > I've started a document with some example use cases to prime the pump:
> > please contribute to this document and don't feel constrained to the
> > style or layout I adopted for the examples.
> >
> >
> > If you have any interest or investment in using or publishing Actions
> > for Juju please review and contribute!
> >
> > Google Docs Link
> > <
> https://docs.google.com/document/d/1uYffkkGA1njQ1oego_h8BYBMrlGpmN_lwsnrOZFxE9Q/edit?usp=sharing
> >
>
> I'd love to see explicit backup/restore actions for the postgresql charm.
>
> Tim
>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20140910/f4752b77/attachment.html>


More information about the Juju-dev mailing list