allow connections for all hosts and ports, not just postgres.

This commit is contained in:
Oleksii Kliukin
2015-04-30 12:11:46 +02:00
parent 221ba39c0f
commit 39667f6e92
+1 -1
View File
@@ -152,7 +152,7 @@ class Postgresql:
# allow TCP connections from the host's own address
f.write("\nhost postgres postgres samehost trust\n")
# allow TCP connections from the rest of the world with a password
f.write("\nhost postgres postgres 0.0.0.0/0 md5\n")
f.write("\nhost all all 0.0.0.0/0 md5\n")
f.close()
def write_recovery_conf(self, leader_hash):