]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ruby/attributes/default.rb
Add metric for idle postgres processes
[chef.git] / cookbooks / ruby / attributes / default.rb
1 default[:ruby][:version] = if node[:lsb][:release].to_f < 22.04
2                              "2.7"
3                            else
4                              "3.0"
5                            end
6 default[:ruby][:gem] = "/usr/bin/gem#{node[:ruby][:version]}"
7 default[:ruby][:bundle] = "/usr/bin/bundle#{node[:ruby][:version]}"