paulbsd-salt/states/go-aptproxy/service.sls

15 lines
372 B
Plaintext
Raw Normal View History

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
2023-03-11 10:08:26 +01:00
- source: salt://go-aptproxy/templates/go-aptproxy.service.j2
2021-11-27 13:31:34 +01:00
- user: root
- group: root
- template: jinja
go-aptproxy-service:
service.running:
- name: go-aptproxy
- enable: true