Let's talk about bundle policy
Jorge O. Castro
jorge at ubuntu.com
Thu Dec 5 18:51:40 UTC 2013
Hi everyone,
If you haven't noticed, the bundles feature is in beta. Bundles are a
collection of charms that can be deployed in one go. So instead of
deploying individual charms and relating them, you can just share
entire environment's worth of charms and relationships and share those
with people.
Here's an example:
https://code.launchpad.net/~jorge/charms/bundles/mediawiki-scalable/bundle
and here are the docs for bundles:
https://juju.ubuntu.com/docs/charms-bundles.html
I've gone ahead and started adding bundle references in both policy
and submission documentation (the docs will regenerate with these
changes in a few hours):
https://juju.ubuntu.com/docs/authors-charm-policy.html
Most of the policy things there can apply to charms, however there is
one item that I'd like to bring up to discussion. I added:
"Bundles must only use charms that are already in the store, the
cannot reference charms in personal namespaces"
This makes sense to me because an official bundle should only be made
out of official charms. Other than that specific bullet there's really
nothing special about bundles that isn't covered by existing policy.
I've tried to make the policy apply to both instead of having separate
bundle and charm policies.
(We've had these discussions at UDS and I have a general feel for the
consensus of what we discussed and agreed to implement, I am just
documenting that here to let people weigh in.)
Also, remember that these restrictions are for what we show as part of
the official charm store, you can of course, do whatever you want in
your personal charm/bundle namespace.
--
Jorge Castro
Canonical Ltd.
http://juju.ubuntu.com/ - Automate your Cloud Infrastructure
More information about the Juju
mailing list