paulbsd-salt/states/cds/service.sls

15 lines
321 B
Plaintext

---
{%- from "cds/map.jinja" import cds with context %}
cds-service-file:
file.managed:
- name: /etc/systemd/system/cds.service
- source: salt://cds/cds.service.j2
- user: root
- group: root
- watch_in:
- service: cds-service
cds-service:
service.running:
- name: cds
- enable: true