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