paulbsd-salt/states/cds/config.sls
2021-08-19 21:15:24 +02:00

18 lines
359 B
Plaintext

---
{%- from "cds/map.jinja" import cds with context %}
cds-config-dir:
file.directory:
- name: /etc/cds
- watch_in:
- service: cds-service
cds-config-file:
file.managed:
- name: /etc/cds/cds.conf
- source: salt://cds/cds.conf.j2
- user: root
- group: root
- template: jinja
- watch_in:
- service: cds-service