--- {%- from "cds/map.jinja" import cds with context %} cds-service-file: file.managed: - name: /etc/systemd/system/cds.service - source: salt://cds/cds.service.j2 - user: root - group: root - watch_in: - service: cds-service cds-service: service.running: - name: cds - enable: True