X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2678c041db64440f0a15a1178d812140d3b90eb7..21f63bf93d90219a836166bbf0883755e4248989:/cookbooks/chef/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/chef/recipes/default.rb b/cookbooks/chef/recipes/default.rb index 47323bd87..9f377f502 100644 --- a/cookbooks/chef/recipes/default.rb +++ b/cookbooks/chef/recipes/default.rb @@ -36,11 +36,7 @@ Dir.glob("#{cache_dir}/chef_*.deb").each do |deb| end end -ubuntu_release = if node[:lsb][:release].to_f < 22.04 - node[:lsb][:release] - else - "20.04" - end +ubuntu_release = node[:lsb][:release] remote_file "#{cache_dir}/#{chef_package}" do source "https://packages.chef.io/files/stable/chef/#{chef_version}/ubuntu/#{ubuntu_release}/#{chef_package}"