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 <[email protected]> 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
>> [email protected]
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
> 

-- 
José Antonio Rey

-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to