Looking briefly at what's done in the relation-joined/changed hooks, it looks like all the relation-broken hook needs to do it remove the files at:
- /etc/rsync-juju.d/050-swift-storage.conf - /etc/swift/swift.conf
Would that match your expectations?
Looking briefly at what's done in the relation- joined/ changed hooks, it looks like all the relation-broken hook needs to do it remove the files at:
- /etc/rsync- juju.d/ 050-swift- storage. conf swift.conf
- /etc/swift/
Would that match your expectations?