From b99f7144a5d89e9b6405dfeeee7e243318e51eee Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 2 Dec 2020 19:50:02 +0000 Subject: [PATCH] Default SSL to on for postgres --- cookbooks/postgresql/templates/default/postgresql.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #------------------------------------------------------------------------------ -- 2.39.5