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