--- {%- from "micromdm/map.jinja" import micromdm with context %} micromdm-service-file: file.managed: - name: /etc/systemd/system/micromdm.service - source: salt://micromdm/templates/micromdm.service.j2 - user: root - group: root - mode: 644 - template: jinja micromdm-service: service.running: - name: micromdm - enable: true