X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..2f1208a2f1796191ac32543b9b949d1c607dcd15:/cookbooks/ruby/attributes/default.rb?ds=inline diff --git a/cookbooks/ruby/attributes/default.rb b/cookbooks/ruby/attributes/default.rb index 4ed2a3bb7..eefaf2247 100644 --- a/cookbooks/ruby/attributes/default.rb +++ b/cookbooks/ruby/attributes/default.rb @@ -1,4 +1,6 @@ -default[:ruby][:version] = if node[:lsb][:release].to_f < 22.04 +default[:ruby][:version] = if platform?("debian") + "3.1" + elsif node[:lsb][:release].to_f < 22.04 "2.7" else "3.0"