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

15 lines
363 B
Plaintext
Raw Normal View History

2021-11-27 13:31:34 +01:00
---
{%- from "go-aptproxy/map.jinja" import go-aptproxy with context %}
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