heavynode

This commit is contained in:
m0duspwnens
2020-01-29 10:05:20 -05:00
parent 306cc1127b
commit bd5b597aed
4 changed files with 9 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ lscustsync:
lsconfsync:
file.managed:
- name: /opt/so/conf/logstash/conf.enabled.txt
{% if grains.role == 'so-mastersearch' %}
{% if grains.role == 'so-mastersearch' or grains.role == 'so-heavynode' %}
- source: salt://logstash/conf/conf.enabled.txt.so-master
{% else %}
- source: salt://logstash/conf/conf.enabled.txt.{{ nodetype }}