2020-07-10 00:58:55 +02:00
|
|
|
---
|
2020-11-30 22:29:10 +01:00
|
|
|
{%- from "dkron/map.jinja" import dkron with context %}
|
2020-07-10 00:58:55 +02:00
|
|
|
dkron-config-dir:
|
|
|
|
file.directory:
|
|
|
|
- name: /etc/dkron
|
|
|
|
- user: {{ dkron.runuser }}
|
|
|
|
|
|
|
|
dkron-config:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/dkron/dkron.yml
|
|
|
|
- source: salt://dkron/dkron.yml.j2
|
|
|
|
- user: {{ dkron.runuser }}
|
|
|
|
- template: jinja
|
|
|
|
- watch_in:
|
2020-11-30 22:29:10 +01:00
|
|
|
- service: dkron-service
|