paulbsd-salt/states/dkron/config.sls

16 lines
366 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02: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 }}
2022-06-10 00:39:52 +02:00
2020-07-10 00:58:55 +02:00
dkron-config:
file.managed:
- name: /etc/dkron/dkron.yml
2022-04-10 12:40:10 +02:00
- source: salt://dkron/templates/dkron.yml.j2
2020-07-10 00:58:55 +02:00
- user: {{ dkron.runuser }}
- template: jinja
- watch_in:
- service: dkron-service