paulbsd-salt/states/time/config.sls
2020-07-10 00:58:55 +02:00

12 lines
278 B
Plaintext

---
{%- from "time/map.jinja" import time with context %}
time-ntp-config-file:
file.managed:
- name: /etc/ntp.conf
- source: salt://time/ntp.conf.j2
- user: root
- group: root
- mode: 644
- template: jinja
- watch_in:
- service: ntp-service