X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/771abb774d2658685bfce5b3c44b76ae86873966..bf16c782a9d8e78c4b14a35b899b81992f91155f:/cookbooks/passenger/attributes/default.rb diff --git a/cookbooks/passenger/attributes/default.rb b/cookbooks/passenger/attributes/default.rb index 8980fff57..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] | ["brightbox-ruby-ng", "passenger"] +default[:apt][:sources] = node[:apt][:sources] | ["passenger"]