Fix yaml for idh,es,kib,esalert

This commit is contained in:
Mike Reeves
2022-09-09 15:30:28 -04:00
parent 54f7cefa28
commit 74ef6c0ed0
8 changed files with 16 additions and 390 deletions

View File

@@ -1,7 +1,6 @@
idh:
opencanary:
config:
device.node_id: {{ grains.host }}
logger:
class: PyLogger
kwargs:

View File

@@ -6,4 +6,6 @@
{% do salt['defaults.merge'](OPENCANARYCONFIG, SERVICECONFIG, in_place=True) %}
{% endfor %}
{% set OPENCANARYCONFIG = salt['pillar.get']('idh:opencanary:config', default=OPENCANARYCONFIG.idh.opencanary.config, merge=True) %}
{% set OPENCANARYCONFIG = salt['pillar.get']('idh:opencanary:config', default=OPENCANARYCONFIG.idh.opencanary.config, merge=True) %}
{% do OPENCANARYCONFIG.idh.opencanary.config.update({'device.node_id': grains.host}) %}