X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c01b94c6cf983f79e0919ea4fc7a7f103d03864..52fb5028cfb36bf1b9490aea22cde7127dbe00ce:/cookbooks/geodns/recipes/default.rb diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index 250f148c4..da1acad06 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -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