apache2 vhost-config relation problem

José Antonio Rey jose at ubuntu.com
Mon Jan 12 23:08:21 UTC 2015


Hey Nico,

Michael is right over here. Both the apache2 charm and your test charm
*require* the vhost-config relation. A relation can only be established
if one charm requires and the other provides. You should be able to
change this on the metadata.yaml.

If you have any questions on how to implement this, please make sure to
contact us!

On 01/12/2015 06:04 PM, Michael Nelson wrote:
> On Tue, Jan 13, 2015 at 9:10 AM, Nicolás Pace <nicopace at gmail.com> wrote:
>> Hi!
>> First of all, thanks for such a great tool!
>> I've been implementing a simple charm to test apache2 vhost-config relation:
>> https://code.launchpad.net/~nicopace/+junk/simplewebservercharm
>> I can add both the apache2 and simplewebserver charm, but when i add the
>> relation, it says:
>> $ juju add-relation apache2:vhost-config simplewebserver:vhost-config
>> ERROR no relations found
> 
> Hi Nicolas. I'm not 100%, but it looks like you've trying to relate
> two charms which both *require* the vhost-config relation (ie. without
> looking at the detail, I'm guessing your charm needs to provide that,
> not require it).
> 
> -Michael
> 
>>
>> Any ideas?
>>
>> 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
>>
> 

-- 
José Antonio Rey



More information about the Juju mailing list