From 7f8d6798874890e02ad1a1a4d8a197397f8684c5 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 17 Jan 2021 19:41:48 +0000 Subject: [PATCH] Work around cookbook dependency issues --- cookbooks/timescaledb/attributes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/timescaledb/attributes/default.rb b/cookbooks/timescaledb/attributes/default.rb index 7ce8642ef..9d8095ec1 100644 --- a/cookbooks/timescaledb/attributes/default.rb +++ b/cookbooks/timescaledb/attributes/default.rb @@ -7,6 +7,7 @@ default[:apt][:sources] |= ["timescaledb"] memory_gb = (node[:memory][:total].to_f / 1024 / 1024).ceil +default_unless[:postgresql][:versions] = [] default[:postgresql][:versions] |= [database_version] default[:postgresql][:settings][database_version][:max_connections] = 500 default[:postgresql][:settings][database_version][:shared_buffers] = "#{memory_gb / 4}GB" -- 2.39.5