Merge lp:~kim0/pyjuju/fix-mysql-example-formula-publish-details-precreated-databases into lp:pyjuju
Proposed by
Ahmed Kamal
Status: | Merged |
---|---|
Approved by: | Gustavo Niemeyer |
Approved revision: | 241 |
Merged at revision: | 244 |
Proposed branch: | lp:~kim0/pyjuju/fix-mysql-example-formula-publish-details-precreated-databases |
Merge into: | lp:pyjuju |
Diff against target: |
41 lines (+12/-6) 1 file modified
examples/mysql/hooks/db-relation-joined (+12/-6) |
To merge this branch: | bzr merge lp:~kim0/pyjuju/fix-mysql-example-formula-publish-details-precreated-databases |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Niemeyer | Approve | ||
Review via email: mp+63426@code.launchpad.net |
Description of the change
Fixing for formula for saving service DB passwords, and publishing them to new service units
To post a comment you must log in.
This looks like a good interim solution, thanks!
The proper way is actually to use a database named after the relation id,
and then create a new database on every new relation id we get. The
problem is that we currently don't offer such a relation id for the hooks,
so this will do for now.