It would be useful for juju to have a command to instruct an application and/or unit to recreate the various configuration files it creates. At the moment this can be done indirectly by changing some config parameter.
Which config files do you mean? It this the Juju config itself or from a charm/application?
Correct remark. I mean the charms, configuration that are produced by charms.
My initial thought is that it seems like that would be best as an action implemented by the charm. Resetting configuration files isn’t necessarily something that would be common to all charms. Some charms might not even have configuration files, but the ones that do have configuration files could make a reset-config
action or something like that if they wanted to implement that functionality.
1 Like