updating a config value from within a hook

Matthew Williams matthew.williams at canonical.com
Thu Oct 30 17:30:00 UTC 2014


Hi Stein,

What do you mean by "can only be added once within the lifecycle of the
charm" Could you explain the use case a little more and we'll see if
there's an alternative solution for you

Thanks

Matty

On Thu, Oct 30, 2014 at 4:16 PM, Stein Myrseth <stein.myrseth at gmail.com>
wrote:

> I have the need to update the value of a config key from within a hook.
> 'config-set’ is non existing. Resetting it would also work. The use case is
> that a certain value can only be added once within the lifecycle of the
> charm.
> If updated from either from within the UI or cmd line, I need to set it
> back to it’s previous value (which I have stored).
>
> Any idea how this can be done ?
>
> Stein Myrseth
> Bjørkesvingen 6J
> 3408 Tranby
> mob: +47 909 62 763
> mailto:stein.myrseth at gmail.com <stein.myrseth at gmail.com>
>
>
> --
> 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/20141030/05f44e5c/attachment.html>


More information about the Juju mailing list