~patrick-hetu/charms/precise/postgresql/fix-1224668

Viewing all changes in revision 57.

This is to address Bug #1187508, where a client charm has no way of knowing if the credentials it has will actually work for it yet.

Simple change to set and export an "allowed-units" relation setting. This will show if you can connect to the database or not. Since the relations run asynchronously, there is no way to determine this otherwise. If your host is in the allowed_host setting, your client IP has been added to the hba conf file.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: