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