Compare commits

..

3 Commits

Author SHA1 Message Date
Jenkins Server
ab61504947 Merge remote-tracking branch 'origin/master' into jenkins-build-20 2026-10-02 15:06:34 +02:00
a09bbd6132 OP#830 add config steps 2026-10-02 15:05:29 +02:00
Jenkins Server
619ae2e63b Merge remote-tracking branch 'origin/master' into jenkins-build-19 2026-10-02 14:56:30 +02:00

View File

@@ -6,11 +6,35 @@
<% if @fqdn == @cy_server_fqdn -%>
# This is a time server configuration file
#<% @cy_conf_servers.each do |this_server| -%>
#pool <%= this_server %> iburst
# Use public servers from the pool.ntp.org project.
<% @cy_conf_servers.each do |this_server| -%>
pool <%= this_server %> iburst
# Use NTP servers from DHCP.
sourcedir /run/chrony-dhcp
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift
# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
makestep 1.0 3
<% end end -%>
<% if @fqdn != @cy_server_fqdn -%>
# This is a time client configuration file
server <%= @cy_server_fqdn %> iburst
# Use NTP servers from DHCP.
sourcedir /run/chrony-dhcp
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift
# Allow the system clock to be stepped in the first three updates
# if its offset is larger than 1 second.
makestep 1.0 3
<% end %>