]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/chef/recipes/default.rb
Allow exim exporter to enumerate other processes
[chef.git] / cookbooks / chef / recipes / default.rb
index 47323bd874d74a6315b9bbbcf4a454d0a2642c51..9f377f502de0f22ce3f63c8874a92cf7efd340e7 100644 (file)
@@ -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}"