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