Revision
61
Author
nanardon
Date
2010-10-29 02:38:08 +0200 (Fri, 29 Oct 2010)

Log Message

- enable ssl

Modified Paths

Diff

Modified: puppet/modules/postgresql/templates/pg_hba.conf (60 => 61)


--- puppet/modules/postgresql/templates/pg_hba.conf	2010-10-28 23:59:20 UTC (rev 60)
+++ puppet/modules/postgresql/templates/pg_hba.conf	2010-10-29 00:38:08 UTC (rev 61)
@@ -83,5 +83,5 @@
 # IPv6 local connections:
 host    all             all             ::1/128                 pam
 
-host    all             all             0.0.0.0/0               pam
-host    all             all             ::0/0                   pam
+hostssl all             all             0.0.0.0/0               pam
+hostssl all             all             ::0/0                   pam

Modified: puppet/modules/postgresql/templates/postgresql.conf (60 => 61)


--- puppet/modules/postgresql/templates/postgresql.conf	2010-10-28 23:59:20 UTC (rev 60)
+++ puppet/modules/postgresql/templates/postgresql.conf	2010-10-29 00:38:08 UTC (rev 61)
@@ -57,7 +57,7 @@
 # - Connection Settings -
 
 #listen_addresses = 'localhost'		# what IP address(es) to listen on;
-listen_addresses = *
+listen_addresses = '*'
 					# comma-separated list of addresses;
 					# defaults to 'localhost', '*' = all
 					# (change requires restart)
@@ -80,6 +80,7 @@
 
 #authentication_timeout = 1min		# 1s-600s
 #ssl = off				# (change requires restart)
+ssl = on
 #ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'	# allowed SSL ciphers
 					# (change requires restart)
 #ssl_renegotiation_limit = 512MB	# amount of data between renegotiations