Re: setting charm configs on relation

2015-01-14 Thread Nicolás Pace
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

Re: setting charm configs on relation

2015-01-13 Thread Charles Butler
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

setting charm configs on relation

2015-01-13 Thread Nicolás Pace
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

Re: setting charm configs on relation

2015-01-13 Thread José Antonio Rey
You cannot do that via a relation. You would need to specify it on as a setting using either `juju set`, or the configure function on Amulet. On 01/13/2015 11:22 AM, Nicolás Pace wrote: Hi guys, I'm working in a charm to test the apache2 charm: