]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
community: serbian-digraphic-fix now merged upstream
[chef.git] / cookbooks / networking / recipes / default.rb
index 11c75daec981d3d63bdc422119db4780eb041427..60f3be44481bcd9365e2c7f4acd8c62761a8780b 100644 (file)
@@ -126,6 +126,11 @@ node[:networking][:interfaces].each do |_, interface|
   end
 end
 
+package "systemd-resolved" do
+  action :install
+  only_if { platform?("ubuntu") && node[:lsb][:release].to_f > 22.04 || platform?("debian") && node[:lsb][:release].to_f > 11.0 }
+end
+
 service "systemd-networkd" do
   action [:enable, :start]
 end