From: Tom Hughes Date: Thu, 28 Mar 2019 12:12:28 +0000 (+0000) Subject: Make sure systemd-timesyncd is stopped and disabled X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8d2b8f1a0ab843825784d1e8d65429c8367f0847 Make sure systemd-timesyncd is stopped and disabled --- diff --git a/cookbooks/ntp/recipes/default.rb b/cookbooks/ntp/recipes/default.rb index 0abd9a4f6..ff5a40ae7 100644 --- a/cookbooks/ntp/recipes/default.rb +++ b/cookbooks/ntp/recipes/default.rb @@ -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