A beginner's adventure in Charm authoring
Stuart Bishop
stuart.bishop at canonical.com
Thu Sep 4 11:23:27 UTC 2014
On 4 September 2014 16:30, John Meinel <john at arbash-meinel.com> wrote:
> ...
>
>>
>>
>> The only sane way I see is for the charm to declare what series it
>> supports, probably in its metadata.yaml. In practice, we regularly
>> deploy branches targetted to precise to trusty and vice versa because
>> one branch supports both series and the branch on the other series
>> just an unmaintained atavism. I think forcing a 1:1 mapping between a
>> branch and a series is not useful to anyone, and the series component
>> in the charm URL just causes confusion.
>>
> So how do we decide what image to bring up to install your charm on? If it
> supports multiple OS series, then you still need a place/syntax/something to
> disambiguate what you actually want us to do. (I'm not saying that being
> directly in the URL is the ideal place, but we do need to consider how we
> interact with the system.)
I imagine the list in config.yaml would be in recommended order. That
order would be used if the series was not explicitly specified in the
constraints when deploying the service.
--
Stuart Bishop <stuart.bishop at canonical.com>
More information about the Juju-dev
mailing list