Nicer fix to avoid CNAMEs in pg_hba.conf
Bug #1276807 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Juju Charms Collection) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
The fix related to MAAS's bug #1250435 works, but involves a fork to call out to dig and parse its output. Turns out using gethostbyname() is a much simpler fix.
Related branches
lp:~ahasenack/charms/precise/postgresql/nicer-fix-to-avoid-cnames-in-pg_hba
On hold
for merging
into
lp:charms/postgresql
- Cory Johns (community): Needs Information
- Stuart Bishop (community): Needs Information
-
Diff: 23 lines (+2/-6)1 file modifiedhooks/hooks.py (+2/-6)
lp:~stub/charms/trusty/postgresql/rewrite
- Matt Bruzek (community): Approve
-
Diff: 22814 lines (+17181/-4595)67 files modified.bzrignore (+3/-1)
Makefile (+64/-49)
README.md (+52/-100)
TODO (+0/-27)
actions.yaml (+11/-0)
actions/actions.py (+42/-7)
config.yaml (+327/-270)
copyright (+6/-7)
hooks/bootstrap.py (+57/-0)
hooks/client.py (+182/-0)
hooks/coordinator.py (+19/-0)
hooks/data-relation-changed (+23/-0)
hooks/data-relation-departed (+23/-0)
hooks/db-admin-relation-departed (+23/-0)
hooks/db-relation-departed (+23/-0)
hooks/decorators.py (+124/-0)
hooks/definitions.py (+86/-0)
hooks/helpers.py (+0/-197)
hooks/hooks.py (+0/-2820)
hooks/leader-elected (+23/-0)
hooks/leader-settings-changed (+23/-0)
hooks/local-monitors-relation-changed (+23/-0)
hooks/master-relation-changed (+23/-0)
hooks/master-relation-departed (+23/-0)
hooks/metrics.py (+64/-0)
hooks/nagios.py (+81/-0)
hooks/nrpe-external-master-relation-changed (+23/-0)
hooks/postgresql.py (+692/-0)
hooks/replication-relation-changed (+23/-0)
hooks/replication.py (+324/-0)
hooks/service.py (+930/-0)
hooks/start (+23/-0)
hooks/stop (+23/-0)
hooks/storage.py (+88/-0)
hooks/syslog-relation-departed (+23/-0)
hooks/syslogrel.py (+72/-0)
hooks/test_hooks.py (+0/-433)
hooks/upgrade.py (+121/-0)
hooks/wal_e.py (+129/-0)
lib/cache_settings.py (+44/-0)
lib/juju-deployer-wrapper.py (+32/-0)
lib/pg_settings_9.1.json (+2792/-0)
lib/pg_settings_9.2.json (+2858/-0)
lib/pg_settings_9.3.json (+2936/-0)
lib/pg_settings_9.4.json (+3050/-0)
lib/pgclient/metadata.yaml (+3/-4)
metadata.yaml (+44/-9)
templates/pg_backup_job.tmpl (+16/-23)
templates/pg_hba.conf.tmpl (+0/-29)
templates/pg_ident.conf.tmpl (+0/-3)
templates/postgres.cron.tmpl (+6/-6)
templates/postgresql.conf.tmpl (+0/-213)
templates/recovery.conf.tmpl (+1/-1)
templates/rsyslog_forward.conf (+2/-2)
templates/start_conf.tmpl (+0/-13)
templates/swiftwal.conf.tmpl (+0/-6)
testing/README (+0/-36)
testing/amuletfixture.py (+241/-0)
testing/jujufixture.py (+0/-297)
tests/00-setup.sh (+0/-15)
tests/01-lint.sh (+0/-3)
tests/02-unit-tests.sh (+0/-3)
tests/03-basic-amulet.py (+0/-19)
tests/obsolete.py (+2/-2)
tests/test_integration.py (+628/-0)
tests/test_postgresql.py (+711/-0)
tests/tests.yaml (+19/-0)
Changed in charms: | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
affects: | charms → postgresql (Juju Charms Collection) |
tags: | added: landscape |
Changed in postgresql (Juju Charms Collection): | |
assignee: | Stuart Bishop (stub) → nobody |
To post a comment you must log in.
I'm tearing out the workaround in my refactoring branch.