------------------------- * MODIFY: - changed default ntp server for the lan - updated ntp_conf.j2 template to include the iburst option
29 lines
822 B
Django/Jinja
29 lines
822 B
Django/Jinja
#####################################################
|
|
# The Zen Garden Network #
|
|
# #
|
|
# Configuration : {{ ntp_conf_file }} #
|
|
# Version : {{ ntp_conf_version }}-{{ ntp_conf_revision }} #
|
|
# #
|
|
# Chris H. <chris@thezengarden.net> #
|
|
#####################################################
|
|
|
|
driftfile /var/lib/ntp/drift
|
|
|
|
restrict 127.0.0.1
|
|
restrict ::1
|
|
|
|
restrict {{ ntp_network }} mask {{ ntp_netmask }} nomodify notrap
|
|
|
|
{% if ntp_node_type == "server" %}
|
|
{% for server in ntp_servers %}
|
|
server {{ server }}
|
|
{% endfor %}
|
|
{% else %}
|
|
server {{ ntp_lan_server }} iburst
|
|
{% endif %}
|
|
|
|
includefile /etc/ntp/crypto/pw
|
|
keys /etc/ntp/keys
|
|
|
|
disable monitor
|