Merge lp:~stub/charms/precise/postgresql/bug-1205286 into lp:charms/postgresql
Proposed by
Stuart Bishop
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Mark Mims | ||||
Approved revision: | 66 | ||||
Merged at revision: | 61 | ||||
Proposed branch: | lp:~stub/charms/precise/postgresql/bug-1205286 | ||||
Merge into: | lp:charms/postgresql | ||||
Prerequisite: | lp:~stub/charms/precise/postgresql/charm-helpers | ||||
Diff against target: |
295 lines (+81/-79) 2 files modified
hooks/hooks.py (+69/-75) test.py (+12/-4) |
||||
To merge this branch: | bzr merge lp:~stub/charms/precise/postgresql/bug-1205286 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mark Mims (community) | Approve | ||
Review via email: mp+181063@code.launchpad.net |
Description of the change
Instead of storing pgpass files in the charm directory where sudo subprocesses can no longer access them, generate them as required to a temporary file.
A few minor drivebys, such as using pwgen from charmhelpers.
To post a comment you must log in.