]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/timescaledb/attributes/default.rb
Bump test-kitchen from 2.9.0 to 2.10.0
[chef.git] / cookbooks / timescaledb / attributes / default.rb
index 7ce8642ef71a6f19e8f740c807943fe601bd62ec..9d8095ec1fe69d5c30524fdd3ca42f53f5e569b7 100644 (file)
@@ -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"