]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Drop Ubuntu 16.04 compatibility where it is no longer needed
[chef.git] / cookbooks / geodns / recipes / default.rb
index 250f148c453120cc2747d8275b846aa48b36ae31..da1acad067078940c85c594d9822c83581994b7c 100644 (file)
@@ -38,10 +38,8 @@ template "/etc/gdnsd/zones/geo.openstreetmap.org" do
   notifies :restart, "service[gdnsd]"
 end
 
-if node[:lsb][:release].to_f >= 18.04
-  service "systemd-resolved" do
-    action [:disable, :stop]
-  end
+service "systemd-resolved" do
+  action [:disable, :stop]
 end
 
 service "gdnsd" do