From 530be4b1d3131431544200143c9d16d0a8bcd395 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Fri, 2 Oct 2026 14:39:00 +0200 Subject: [PATCH] OP#830 testing fqdn pickup --- templates/chrony.conf.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/chrony.conf.erb b/templates/chrony.conf.erb index 9d1f503..015081a 100644 --- a/templates/chrony.conf.erb +++ b/templates/chrony.conf.erb @@ -6,14 +6,12 @@ <% if @fqdn == @cy_server_fqdn -%> # This is a time server configuration file -#<% @cy_conf_servers.each do |this_server| -%> -#pool <%= this_server %> iburst +<% @cy_conf_servers.each do |this_server| -%> +pool <%= this_server %> iburst <% end -%> -<% if @fqdn != @cy_server_fqdn -%> +<% else -%> # This is a time client configuration file <% end -%> -#<% end -%> - # <%= @fqdn %> \ No newline at end of file