paulbsd-salt/states/cron/init.sls
2020-07-10 00:58:55 +02:00

8 lines
221 B
Plaintext

---
{%- from "cron/map.jinja" import cron with context %}
{%- for key, value in cron.env.items() %}
cron-env-{{ key.lower }}:
cron.env_present:
- name: {{ value.name }}
- value: {{ value.command }}
{%- endfor %}