updating a config value from within a hook

Stein Myrseth stein.myrseth at gmail.com
Thu Oct 30 16:16:11 UTC 2014


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20141030/19dfe50f/attachment.html>


More information about the Juju mailing list