mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
15 lines
437 B
Django/Jinja
15 lines
437 B
Django/Jinja
{% import 'vars/init.map.jinja' as INIT %}
|
|
|
|
{%
|
|
set ELASTICSEARCH_GLOBALS = {
|
|
'elasticsearch': {
|
|
'es_cluster_name': INIT.PILLAR.elasticsearch.config.cluster.name,
|
|
'es_heap': INIT.PILLAR.elasticsearch.esheap
|
|
}
|
|
}
|
|
%}
|
|
|
|
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
|
|
{% do ELASTICSEARCH_GLOBALS.elasticsearch.update({'auth': INIT.PILLAR.elasticsearch.auth}) %}
|
|
{% endif %}
|