]> git.openstreetmap.org Git - chef.git/commitdiff
Default SSL to on for postgres
authorTom Hughes <tom@compton.nu>
Wed, 2 Dec 2020 19:50:02 +0000 (19:50 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 2 Dec 2020 19:51:24 +0000 (19:51 +0000)
cookbooks/postgresql/templates/default/postgresql.conf.erb

index c5773f106a4a0995c90163cb33924e062b85f22b..0096c2bf2ad33a3295e153f52d34654cb8b8f664 100644 (file)
@@ -28,7 +28,7 @@ unix_socket_directory = '/var/run/postgresql'
 
 # - Security and Authentication -
 
-ssl = <%= @settings[:ssl] %>
+ssl = <%= @settings[:ssl] || @defaults[:ssl] %>
 ssl_renegotiation_limit = 0
 
 #------------------------------------------------------------------------------