paulbsd-salt/states/go-aptproxy/service.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

15 lines
372 B
Plaintext

---
{%- 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