Make sure systemd-timesyncd is stopped and disabled
authorTom Hughes <tom@compton.nu>
Thu, 28 Mar 2019 12:12:28 +0000 (12:12 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 28 Mar 2019 12:12:28 +0000 (12:12 +0000)
cookbooks/ntp/recipes/default.rb

index 0abd9a4..ff5a40a 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