2021-11-27 13:31:34 +01:00
|
|
|
---
|
2021-11-27 13:34:59 +01:00
|
|
|
{%- from "go-aptproxy/map.jinja" import goaptproxy with context %}
|
2021-11-27 13:31:34 +01:00
|
|
|
go-aptproxy-service-file:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/systemd/system/go-aptproxy.service
|
|
|
|
- source: salt://go-aptproxy/go-aptproxy.service.j2
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- template: jinja
|
|
|
|
|
|
|
|
go-aptproxy-service:
|
|
|
|
service.running:
|
|
|
|
- name: go-aptproxy
|
|
|
|
- enable: true
|