paulbsd-salt/states/time/config.sls

12 lines
278 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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