X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/42c5272f61028275c79d973ab0a85b05e043c8da..bf16c782a9d8e78c4b14a35b899b81992f91155f:/cookbooks/passenger/attributes/default.rb diff --git a/cookbooks/passenger/attributes/default.rb b/cookbooks/passenger/attributes/default.rb index e21f96269..29f75e3ae 100644 --- a/cookbooks/passenger/attributes/default.rb +++ b/cookbooks/passenger/attributes/default.rb @@ -1,5 +1,6 @@ -default[:passenger][:ruby_version] = "2.3" +default[:passenger][:ruby_version] = node[:lsb][:release].to_f >= 18.04 ? "2.5" : "2.3" default[:passenger][:max_pool_size] = 6 default[:passenger][:pool_idle_time] = 300 +default[:passenger][:instance_registry_dir] = "/run/passenger" default[:apt][:sources] = node[:apt][:sources] | ["passenger"]