Merge lp://staging/~richard-asbridge/charms/precise/postgresql/postgresql-admin-ip into lp://staging/charms/postgresql
Proposed by
Richard Asbridge
Status: | Merged |
---|---|
Merged at revision: | 65 |
Proposed branch: | lp://staging/~richard-asbridge/charms/precise/postgresql/postgresql-admin-ip |
Merge into: | lp://staging/charms/postgresql |
Diff against target: |
47 lines (+28/-0) 2 files modified
config.yaml (+10/-0) hooks/hooks.py (+18/-0) |
To merge this branch: | bzr merge lp://staging/~richard-asbridge/charms/precise/postgresql/postgresql-admin-ip |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Richard Asbridge | Pending | ||
Review via email: mp+184789@code.staging.launchpad.net |
This proposal supersedes a proposal from 2013-09-10.
Description of the change
I added a new config option called admin_ip that defaults to "none" when this option is set using the usual "juju set" command, it causes the given IP address to be added to the pg_hba.conf file in the following manner...
host all all 10.0.3.1 md5
...if admin_ip is left unconfigured then it has no effect.
This is handy for developers using juju in local mode where they want to connect tools such as pgAdmin from their host machine to the postgres instances running inside of juju.
To post a comment you must log in.
Please resubmit with the merge into branch being "lp:charms/postgresql" and the proposed branch "lp:~richard-asbridge/charms/precise/postgresql/postgresql-admin-ip"