paulbsd-salt/states/time/ntp.conf.j2
2020-07-10 00:58:55 +02:00

9 lines
340 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "time/map.jinja" import time with context %}
disable monitor
restrict -4 default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict ::1
server {{ time.server }} iburst
driftfile /var/lib/ntp/drift