0
0
mirror of https://github.com/saltstack-formulas/cron-formula.git synced 2024-11-27 20:57:45 +01:00

test(saltcheck): avoid map.jinja, use the test pillar instead

This commit is contained in:
Imran Iqbal 2019-10-17 20:12:15 +01:00
parent 50706119fa
commit cce5e67c33
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{%- from "cron/saltcheck-tests/map.jinja" import cron with context %}
{%- set cron = salt['pillar.get']('cron', {}) %}
{%- if 'tasks' in cron %}
{%- for task, task_options in cron.tasks.items() %}