paulbsd-salt/states/cds/config.sls

17 lines
358 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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