paulbsd-salt/states/vector/service.sls

17 lines
381 B
Plaintext
Raw Normal View History

2023-09-14 16:51:15 +02:00
---
{%- from "vector/map.jinja" import vector with context %}
vector-service-file:
file.managed:
- name: /etc/systemd/system/vector.service
- source: salt://vector/templates/vector.service.j2
- user: root
- group: root
- template: jinja
- watch_in:
- service: vector-service
vector-service:
service.running:
- name: vector
- enable: true