mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-10-07 20:59:34 +02:00
test(saltcheck): add test for cron envs (absent & present)
This commit is contained in:
3 files changed
+29
-1
No files matched your search
@@ -25,7 +25,7 @@ cron.{{ task }}:
|
||||
{%- endfor %}
|
||||
|
||||
{%- for env, env_options in cron.get('env', {}). items() %}
|
||||
{%- set env_type = env_options.type|d('present') %}
|
||||
{%- set env_type = env_options.type|d('present') %}
|
||||
|
||||
cron.{{ env }}:
|
||||
cron.env_{{ env_type }}:
|
||||
|
||||
Reference in new issue
Block a user