rename EXTRA_NODES to LOGSTASH_NODES AND REDIS_NODES

This commit is contained in:
m0duspwnens
2021-12-14 23:43:06 -05:00
parent 0c6aba16ec
commit 024860d0ae
4 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
{% set MANAGER = salt['grains.get']('master') %}
{% from 'filebeat/map.jinja' import THIRDPARTY with context %}
{% from 'filebeat/map.jinja' import SO with context %}
{% from 'filebeat/map.jinja' import EXTRA_HOSTS with context %}
{% from 'filebeat/map.jinja' import LOGSTASH_NODES with context %}
{% set ES_INCLUDED_NODES = ['so-eval', 'so-standalone', 'so-managersearch', 'so-node', 'so-heavynode', 'so-import'] %}
include:
@@ -109,7 +109,7 @@ so-filebeat:
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-filebeat:{{ VERSION }}
- hostname: so-filebeat
- user: root
- extra_hosts: {{ EXTRA_HOSTS }}
- extra_hosts: {{ LOGSTASH_NODES }}
- binds:
- /nsm:/nsm:ro
- /opt/so/log/filebeat:/usr/share/filebeat/logs:rw