Model config

Mark Shuttleworth mark at ubuntu.com
Wed Jun 8 13:08:43 UTC 2016


On 08/06/16 22:05, Rick Harding wrote:
> The danger I think we've tried to avoid with the get/set is that if
> you have just model-config you can accidentally mutate the state by
> messing up your arguments you pass in via scripts/etc. It also keeps
> it consistent across the read/write across the many things that can
> change now, applications, models, controller, etc. 
>

I guess it also allows permission checks to happen once up front and not
in the middle of command processing.

Mark



More information about the Juju mailing list