New 2.5 feature: New command for comparing a bundle and model


#1

Now that 2.5 is released I’d like to call out some of the new features for
those who haven’t been following the development this cycle.

In this post I’ll be covering how to compare a bundle with a model.

New command for comparing a bundle and model

A model and a bundle can now be compared using the new diff-bundle command.
This will help in complex enterprise setups where changes have been made to a
model yet a new bundle deployment of the initial model is desired.

To compare the current model with a bundle (bundle.yaml):

juju diff-bundle bundle.yaml

The target bundle (‘some-charm’) can also reside within the online Charm Store:

juju diff-bundle some-charm

See documentation Comparing a bundle to a model for more information.