X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/207dca167b6211116a0af448aff9907f3e3ab4bd..299b099f28fda11958ef46db2edde1381832bf88:/cookbooks/timescaledb/attributes/default.rb 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"