X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d6ed0a8d7822828b12aa2c90c6bcc62f780c2fa5..ae22791537841a5ba758384551f9c3b56ad7154c:/cookbooks/passenger/attributes/default.rb diff --git a/cookbooks/passenger/attributes/default.rb b/cookbooks/passenger/attributes/default.rb index 29f75e3ae..03c6b5a8d 100644 --- a/cookbooks/passenger/attributes/default.rb +++ b/cookbooks/passenger/attributes/default.rb @@ -1,4 +1,9 @@ -default[:passenger][:ruby_version] = node[:lsb][:release].to_f >= 18.04 ? "2.5" : "2.3" +default[:passenger][:ruby_version] = if node[:lsb][:release].to_f < 20.04 + "2.5" + else + "2.7" + end + default[:passenger][:max_pool_size] = 6 default[:passenger][:pool_idle_time] = 300 default[:passenger][:instance_registry_dir] = "/run/passenger"