~bloodearnest/charms/trusty/postgresql/trunk

Viewing all changes in revision 132.

  • Committer: Simon Davy
  • Date: 2015-11-19 21:14:49 UTC
  • Revision ID: simon.davy@canonical.com-20151119211449-xae30462ks0doifw
* Add tests for pg_hba.conf generation
 - found/fixed bug in extra_pg_auth handiling
 - found/fixed 2 bugs in master relation handling
 - found/fixed bug in admin_addresses handling

* Slight refactor of update_pg_hba_conf to make more testable, moving the main
logic into a separate function with params, rather than embedding stateful
functions in amongst the logic

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: