From c96678f5a0b87530e12d23407b20c7f279fb4865 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Tue, 5 Nov 2019 17:34:36 -0500 Subject: [PATCH] clean up variable name - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 --- salt/patch/schedule/os.sls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/salt/patch/schedule/os.sls b/salt/patch/schedule/os.sls index 6056f8ee3..ebb84ad28 100644 --- a/salt/patch/schedule/os.sls +++ b/salt/patch/schedule/os.sls @@ -6,10 +6,10 @@ patch_os_schedule: - job_args: - patch.os - when: - {% for day in pillar['patch']['os']['schedule'] %} - {% for day, time in day.iteritems() %} - {% for each_time in time %} - - {{day}} {{each_time}} + {% for days in pillar['patch']['os']['schedule'] %} + {% for day, times in days.iteritems() %} + {% for time in times %} + - {{day}} {{time}} {% endfor %} {% endfor %} {% endfor %}