start of pipeline dashboard

This commit is contained in:
m0duspwnens
2021-11-03 08:33:20 -04:00
parent 677f62ebd1
commit 8e3b08a831
6 changed files with 1191 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
{% if grains.role == 'so-eval' %}
{% do DASHBOARDS.append('eval') %}
{% else %}
{% do DASHBOARDS.append('pipeline_overview') %}
{# 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 in ALLOWED_DASHBOARDS %}