From: Tom Hughes Date: Wed, 2 Dec 2020 19:50:02 +0000 (+0000) Subject: Default SSL to on for postgres X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/b99f7144a5d89e9b6405dfeeee7e243318e51eee?ds=sidebyside Default SSL to on for postgres --- diff --git a/cookbooks/postgresql/templates/default/postgresql.conf.erb b/cookbooks/postgresql/templates/default/postgresql.conf.erb index c5773f106..0096c2bf2 100644 --- a/cookbooks/postgresql/templates/default/postgresql.conf.erb +++ b/cookbooks/postgresql/templates/default/postgresql.conf.erb @@ -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 #------------------------------------------------------------------------------