OP#830 divide conf file between server and client
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
<% if @fqdn == @cy_server_fqdn -%>
|
<% if @fqdn == @cy_server_fqdn -%>
|
||||||
# This is a time server configuration file
|
# This is a time server configuration file
|
||||||
|
<%= @fqdn %>
|
||||||
<% @cy_conf_servers.each do |this_server| -%>
|
<% @cy_conf_servers.each do |this_server| -%>
|
||||||
pool <%= this_server %> iburst
|
pool <%= this_server %> iburst
|
||||||
|
|
||||||
@@ -13,6 +14,7 @@ pool <%= this_server %> iburst
|
|||||||
|
|
||||||
<% if @fqdn != @cy_server_fqdn -%>
|
<% if @fqdn != @cy_server_fqdn -%>
|
||||||
# This is a time client configuration file
|
# This is a time client configuration file
|
||||||
|
<%= @fqdn %>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
Reference in New Issue
Block a user