]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ruby/attributes/default.rb
build(deps): bump kitchen-dokken from 2.20.3 to 2.20.4
[chef.git] / cookbooks / ruby / attributes / default.rb
index 4ed2a3bb70d58b0f1e8c1b252b9d6597e1e822da..eefaf22470bfc4397761f340ebc9c6eed1eeb047 100644 (file)
@@ -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"