From f87cf123b065ba67365ca49cca679569e1abd9eb Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Mon, 23 Aug 2021 13:08:11 -0400 Subject: [PATCH] fix typo - https://github.com/Security-Onion-Solutions/securityonion/issues/5268 --- salt/grafana/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/grafana/init.sls b/salt/grafana/init.sls index eca1786cc..42df29af4 100644 --- a/salt/grafana/init.sls +++ b/salt/grafana/init.sls @@ -19,7 +19,7 @@ {% else %} {# Grab a unique listing of nodetypes that exists so that we create only the needed dashboards #} {% for dashboard in salt['cmd.shell']("ls /opt/so/saltstack/local/pillar/minions/|awk -F'_' {'print $2'}|awk -F'.' {'print $1'}").split() %} - {% if dashboard id ALLOWED_DASHBOARDS %} + {% if dashboard in ALLOWED_DASHBOARDS %} {% do DASHBOARDS.append(dashboard) %} {% endif %} {% endfor %}