]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/recipes/default.rb
Make sure systemd-timesyncd is stopped and disabled
[chef.git] / cookbooks / ntp / recipes / default.rb
index 0abd9a4f640143d981aec325f354626cdd57b3fa..ff5a40ae7971ec14233c47032dcdb62f0054b0f7 100644 (file)
@@ -44,6 +44,10 @@ template "/etc/chrony/chrony.conf" do
   notifies :restart, "service[chrony]"
 end
 
+service "systemd-timesyncd" do
+  action [:stop, :disable]
+end
+
 service "chrony" do
   action [:enable, :start]
 end