mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add NTP
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
# NTP server list
|
||||
{% for SERVER in NTPCONFIG.ntp.servers %}
|
||||
{%- for SERVER in NTPCONFIG.servers %}
|
||||
server {{ SERVER }} iburst
|
||||
{% endfor %}
|
||||
{%- endfor %}
|
||||
|
||||
# Config options
|
||||
driftfile /var/lib/chrony/drift
|
||||
|
||||
@@ -10,7 +10,7 @@ chronyconf:
|
||||
- source: salt://ntp/chrony.conf
|
||||
- template: jinja
|
||||
- defaults:
|
||||
- NTPCONFIG: {{ NTPCONFIG.ntp }}
|
||||
NTPCONFIG: {{ NTPCONFIG.ntp }}
|
||||
|
||||
chronyd:
|
||||
service.running:
|
||||
|
||||
Reference in New Issue
Block a user