setting charm configs on relation

José Antonio Rey jose at ubuntu.com
Tue Jan 13 16:25:37 UTC 2015


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

-- 
José Antonio Rey



More information about the Juju mailing list