setting charm configs on relation
Charles Butler
charles.butler at canonical.com
Tue Jan 13 18:45:50 UTC 2015
Jose is correct. There currently is not a way to really expose "install
these packages" as a relationship exchange. Things like this are intended
to be scoped by the -joined relationship, and are typically scoped by the
context of the relationship. For example if you're joining a cache-server
relationship, you may install a script-compression module for apache/nginx.
(as an oversimplified example)
I think there's a lot of confusion around relationships and interfaces in
the current juju docs and experience - and will be working towards
publishing a writeup on it as well as refactoring the docs this cycle to
get that work included with a basic state chart, and data-exchange diagram
to illustrate some sample scenarios.
Thanks for the question Nicolas!
On Tue, Jan 13, 2015 at 11:22 AM, Nicolás Pace <nicopace at gmail.com> wrote:
> Hi guys,
>
> I'm working in a charm to test the apache2 charm:
> https://code.launchpad.net/~nicopace/+junk/simplewebservercharm
> For my vhost-config-relation hook, i need to tell apache to install some
> modules.
> I now how to do it from the commandline: juju set apache2
> enable_modules="proxy headers"
> How can i do this from my hook using amulet?
>
> Thanks,
>
>
> --
> Ing. Nicolás Pace
> http://www.linkedin.com/in/nickar/
> http://www.unixono.com.ar/
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
--
All the best,
Charles Butler <charles.butler at canonical.com> - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150113/3c56b668/attachment.html>
More information about the Juju
mailing list