setting charm configs on relation

Nicolás Pace nicopace at gmail.com
Wed Jan 14 13:00:35 UTC 2015


Thanks guys for answering me.

It would be great that the generic vhost-config-relation allows lets the
related charm to require certain parameters.
Do you think that it would be a good improvement for the apache2 charm?

Regards,

On Tue, Jan 13, 2015 at 3:45 PM, Charles Butler <
charles.butler at canonical.com> wrote:

> 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
>



-- 
Ing. Nicolás Pace
http://www.linkedin.com/in/nickar/
http://www.unixono.com.ar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150114/18972bca/attachment.html>


More information about the Juju mailing list