From cce5e67c33b8e499c88ede4c800291879dccc70f Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 17 Oct 2019 20:12:15 +0100 Subject: [PATCH] test(saltcheck): avoid `map.jinja`, use the test pillar instead --- cron/saltcheck-tests/config.tst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/saltcheck-tests/config.tst b/cron/saltcheck-tests/config.tst index 21f225d..c93ba6c 100644 --- a/cron/saltcheck-tests/config.tst +++ b/cron/saltcheck-tests/config.tst @@ -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() %}