mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
heavynode changes
This commit is contained in:
@@ -27,6 +27,8 @@ base:
|
|||||||
- logstash.soc_logstash
|
- logstash.soc_logstash
|
||||||
- logstash.adv_logstash
|
- logstash.adv_logstash
|
||||||
- elasticsearch.index_templates
|
- elasticsearch.index_templates
|
||||||
|
- elasticsearch.soc_elasticsearch
|
||||||
|
- elasticsearch.adv_elasticsearch
|
||||||
|
|
||||||
'*_manager':
|
'*_manager':
|
||||||
- logstash
|
- logstash
|
||||||
|
|||||||
@@ -411,11 +411,9 @@ role:
|
|||||||
elasticsearch_rest:
|
elasticsearch_rest:
|
||||||
portgroups:
|
portgroups:
|
||||||
- {{ portgroups.elasticsearch_rest }}
|
- {{ portgroups.elasticsearch_rest }}
|
||||||
{% if TRUE_CLUSTER %}
|
|
||||||
searchnodes:
|
searchnodes:
|
||||||
portgroups:
|
portgroups:
|
||||||
- {{ portgroups.elasticsearch_node }}
|
- {{ portgroups.elasticsearch_node }}
|
||||||
{% endif %}
|
|
||||||
self:
|
self:
|
||||||
portgroups:
|
portgroups:
|
||||||
- {{ portgroups.syslog}}
|
- {{ portgroups.syslog}}
|
||||||
@@ -469,6 +467,8 @@ role:
|
|||||||
self:
|
self:
|
||||||
portgroups:
|
portgroups:
|
||||||
- {{ portgroups.syslog}}
|
- {{ portgroups.syslog}}
|
||||||
|
- {{ portgroups.elasticsearch_node }}
|
||||||
|
- {{ portgroups.elasticsearch_rest }}
|
||||||
strelka_frontend:
|
strelka_frontend:
|
||||||
portgroups:
|
portgroups:
|
||||||
- {{ portgroups.strelka_frontend }}
|
- {{ portgroups.strelka_frontend }}
|
||||||
|
|||||||
17
salt/vars/heavynode.map.jinja
Normal file
17
salt/vars/heavynode.map.jinja
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{% from 'vars/elasticsearch.map.jinja' import ELASTICSEARCH_GLOBALS %}
|
||||||
|
{% from 'vars/logstash.map.jinja' import LOGSTASH_GLOBALS %}
|
||||||
|
{% from 'vars/sensor.map.jinja' import SENSOR_GLOBALS %}
|
||||||
|
|
||||||
|
{% set ROLE_GLOBALS = {} %}
|
||||||
|
|
||||||
|
{% set HEAVYNODE_GLOBALS =
|
||||||
|
[
|
||||||
|
SENSOR_GLOBALS,
|
||||||
|
ELASTICSEARCH_GLOBALS,
|
||||||
|
LOGSTASH_GLOBALS
|
||||||
|
]
|
||||||
|
%}
|
||||||
|
|
||||||
|
{% for sg in HEAVYNODE_GLOBALS %}
|
||||||
|
{% do salt['defaults.merge'](ROLE_GLOBALS, sg, merge_lists=False, in_place=True) %}
|
||||||
|
{% endfor %}
|
||||||
@@ -1704,7 +1704,7 @@ process_installtype() {
|
|||||||
elif [ "$install_type" = 'SEARCHNODE' ]; then
|
elif [ "$install_type" = 'SEARCHNODE' ]; then
|
||||||
is_searchnode=true
|
is_searchnode=true
|
||||||
elif [ "$install_type" = 'HEAVYNODE' ]; then
|
elif [ "$install_type" = 'HEAVYNODE' ]; then
|
||||||
is_heavy=true
|
is_heavynode=true
|
||||||
elif [ "$install_type" = 'FLEET' ]; then
|
elif [ "$install_type" = 'FLEET' ]; then
|
||||||
is_fleet=true
|
is_fleet=true
|
||||||
elif [ "$install_type" = 'IDH' ]; then
|
elif [ "$install_type" = 'IDH' ]; then
|
||||||
|
|||||||
@@ -637,5 +637,5 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
verify_setup
|
verify_setup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Need to make sure the latest install is located on the web server of the manager to check the versions and donwload the code if required
|
# Need to make sure the latest install is located on the web server of the manager to check the versions and download the code if required
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user