mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2025-07-21 04:28:24 +02:00
test(saltcheck): avoid map.jinja
, use the test pillar instead
This commit is contained in:
parent
50706119fa
commit
cce5e67c33
@ -1,7 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: ft=sls
|
# vim: ft=sls
|
||||||
|
|
||||||
{%- from "cron/saltcheck-tests/map.jinja" import cron with context %}
|
{%- set cron = salt['pillar.get']('cron', {}) %}
|
||||||
|
|
||||||
{%- if 'tasks' in cron %}
|
{%- if 'tasks' in cron %}
|
||||||
{%- for task, task_options in cron.tasks.items() %}
|
{%- for task, task_options in cron.tasks.items() %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user