paulbsd-salt/states/time/config.sls

13 lines
288 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
2023-03-11 10:08:26 +01:00
- source: salt://time/templates/ntp.conf.j2
2022-06-10 00:39:52 +02:00
- user: root
2020-07-10 00:58:55 +02:00
- group: root
- mode: 644
- template: jinja
- watch_in:
2023-03-11 10:08:26 +01:00
- service: ntp-service