On 24/10/15 02:30, Curtis Hovey-Canonical wrote: > # juju-core 1.25.0 > > A new proposed stable release of Juju, juju-core 1.25.0, is now available. > This release may replace version 1.24.7 on Thursday October 29. >
Congrats all, looking forward to taking this for a spin. Especially keen to see how people use the docker container management features in payload management! This makes it really easy to write a charm that handles all the setup and teardown, but uses a docker container for the actual app. Same thing goes for the KVM payloads which folks are using to charm old OS applications. > ### Payload management for charmers > > The new payload management feature allows charmers to more accurately define > large and complex deployments by registering different payloads, such as LXC, > KVM, and docker, with Juju. This lets the operator better understand the > purpose and function of these payloads on a given machine. > > You define these payloads in the metadata.yaml of the charm under the > payloads section. You create a class for the payload, "monitoring" or "kvm- > guest", and assign the type. > > payloads: > monitoring: > type: docker > kvm-guest: > type: kvm > > From your charm hook you can manage your payload with the following > commands: > > payload-register <type> <class> <ID> [tags] > payload-unregister <type> <class> <ID> > payload-status-set <type> <class> <ID> <starting, running, > stopping, stopped> > > From the Juju command line you can view your payloads like this: > > juju list-payloads <filter> > > For more information run: > > juju help payloads -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
