This commit is contained in:
Mike Reeves
2022-09-19 14:26:16 -04:00
parent 03ea714dc1
commit 44be7b4969
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
# NTP server list # NTP server list
{% for SERVER in NTPCONFIG.ntp.servers %} {%- for SERVER in NTPCONFIG.servers %}
server {{ SERVER }} iburst server {{ SERVER }} iburst
{% endfor %} {%- endfor %}
# Config options # Config options
driftfile /var/lib/chrony/drift driftfile /var/lib/chrony/drift

View File

@@ -10,7 +10,7 @@ chronyconf:
- source: salt://ntp/chrony.conf - source: salt://ntp/chrony.conf
- template: jinja - template: jinja
- defaults: - defaults:
- NTPCONFIG: {{ NTPCONFIG.ntp }} NTPCONFIG: {{ NTPCONFIG.ntp }}
chronyd: chronyd:
service.running: service.running: