apache2 vhost-config relation problem
Nicolás Pace
nicopace at gmail.com
Tue Jan 13 15:25:12 UTC 2015
On Mon, Jan 12, 2015 at 8:08 PM, José Antonio Rey <jose at ubuntu.com> wrote:
> 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.
>
Oh, thanks for that!
I corrected it and it worked!
>
> 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
>
--
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/20150113/bf9cffb5/attachment.html>
More information about the Juju
mailing list