Juju state as code?

Merlijn Sebrechts merlijn.sebrechts at gmail.com
Thu Oct 6 10:02:39 UTC 2016

Hi Patrik

Welcome to the Juju community, and thanks for the great question!

I see the bundle as a way to "save" the state of a model you constructed. A
bundle specifies a bunch of charms, their versions, their relations, and
their config values. You can find more info on bundles here:

You can use the Juju GUI to create a bundle from the running model. You can
then redeploy that bundle whenever you need that model. Deploying bundles
can be done using command line tools or from the Juju GUI. The bundle is
just a yaml file so it's easy to put it in git and edit it yourself.

Does this answer your question?

Kind regards

2016-10-06 10:28 GMT+02:00 Patrik Karisch <patrik.karisch at gmail.com>:

> Hi there,
> one thing which mocks my head, when evaluating Juju is, the state is only
> in the controller which gets deployed with commands. Which means I have
> IMHO no docs/history of how my current state of machines and charms was
> constructed?
> As a side note: I'm used to Ansible and Puppet, which means I have all my
> infrastructe in a Git repository which describes my whole infrastructure
> and works always in a reproducable and idempotent way. How can I map this
> concept to Juju? I fear a little bit to loose this automation concept while
> using Juju.
> Best regards,
> Patrik
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161006/0948d3e3/attachment.html>

More information about the Juju mailing list