OP#830 add server vs pool control

This commit is contained in:
2026-10-02 13:32:06 +02:00
parent 9456eedce0
commit 1184597d70
2 changed files with 21 additions and 2 deletions

View File

@@ -1,3 +1,17 @@
################################################################################
### chrony.conf created by Puppet, manual changes will be overwritten ###
################################################################################
################################################################################
### original chrony.conf file can be found at https://3for.me/2t0an ###
################################################################################
<% if @cy_server_fqdn == $fqdn -%>
# This is a time server configuration file
<% @cy_conf_servers.each do |this_server| -%>
pool <%= this_server %> iburst
<% end -%>
<% else -%>
# This is a time client configuration file
<% @cy_server_fqdn.each do |this_server| -%>
server <%= this_server %> iburst
<% end end -%>