mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Common Module - Change Grafana init
This commit is contained in:
@@ -244,6 +244,7 @@ grafanaconf:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://common/grafana/etc
|
- source: salt://common/grafana/etc
|
||||||
|
|
||||||
|
{% if salt['pillar.get']('sensorstab', False) %}
|
||||||
{%- for SN, SIP, MAININT, MONINT in salt['pillar.get']('sensorstab', {}).iteritems() %}}
|
{%- for SN, SIP, MAININT, MONINT in salt['pillar.get']('sensorstab', {}).iteritems() %}}
|
||||||
dashboard-{{ SN }}:
|
dashboard-{{ SN }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
@@ -258,6 +259,7 @@ dashboard-{{ SN }}:
|
|||||||
- MON: {{ MONINT }}
|
- MON: {{ MONINT }}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Install the docker. This needs to be behind nginx at some point
|
# Install the docker. This needs to be behind nginx at some point
|
||||||
so-grafana:
|
so-grafana:
|
||||||
|
|||||||
Reference in New Issue
Block a user