paulbsd-salt/states/dkron/config.sls
Paul Lecuq 2e7242c9f3
All checks were successful
continuous-integration/drone/push Build is passing
linted states
2022-06-10 00:39:52 +02:00

16 lines
366 B
Plaintext

---
{%- from "dkron/map.jinja" import dkron with context %}
dkron-config-dir:
file.directory:
- name: /etc/dkron
- user: {{ dkron.runuser }}
dkron-config:
file.managed:
- name: /etc/dkron/dkron.yml
- source: salt://dkron/templates/dkron.yml.j2
- user: {{ dkron.runuser }}
- template: jinja
- watch_in:
- service: dkron-service