Ensure strelka backend, frontend, and filestream are connecting to redis locally, on heavy node instances

This commit is contained in:
Jason Ertel
2020-08-19 16:12:54 -04:00
parent 51a52228ac
commit 5ff0058a65
4 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
{%- if grains.role == 'so-sensor' -%}
{%- if grains.role in ['so-sensor', 'so-heavynode'] -%}
{%- set mainint = salt['pillar.get']('sensor:mainint') %}
{%- set ip = salt['grains.get']('ip_interfaces:' ~ mainint[0], salt['pillar.get']('sensor:mainip')) %}
{%- else %}