Juju Charm - Mysql Router
Go to file
Nicolas Bock 17595788ed
Add cleanup of configuration files on `stop`
When this subordinate is removed from a unit it leaves its configuration
files behind. This can become an issue if the subordinate is added back
to the unit as pointed out in #2004088.

This change adds a cleanup step to the `stop` hook so that those
configuration files are removed on the removal of the subordinate charm.

Closes-Bug: #2004088
Closes-Bug: #2004089
Change-Id: Icfca352f29e089aeccd1434d33a573ca1682339a
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2023-09-28 14:30:32 -06:00
src Add cleanup of configuration files on `stop` 2023-09-28 14:30:32 -06:00
unit_tests Add cleanup of configuration files on `stop` 2023-09-28 14:30:32 -06:00
.gitignore Add *.charm to gitignore 2022-04-18 21:08:31 +01:00
.gitreview Upstream charm 2019-10-17 09:41:43 -07:00
.stestr.conf Unit Tests 2019-10-10 16:48:29 -07:00
.zuul.yaml Updates for jammy enablement 2022-04-05 13:56:31 +01:00
LICENSE Required files 2019-10-04 14:12:47 -07:00
charmcraft.yaml Add cleanup of configuration files on `stop` 2023-09-28 14:30:32 -06:00
metadata.yaml Migrate charm to charmhub latest/edge track 2022-01-28 10:33:02 +01:00
osci.yaml Add mantic support 2023-08-03 21:36:24 -04:00
rebuild Add impish bundles 2021-10-01 15:46:45 +01:00
rename.sh Update to build using charmcraft 2022-02-15 07:58:22 +00:00
requirements.txt Add lunar and drop kinetic 2023-04-13 10:19:47 -04:00
test-requirements.txt Update to build using charmcraft 2022-02-15 07:58:22 +00:00
tox.ini Add lunar and drop kinetic 2023-04-13 10:19:47 -04:00