Upgrade Fun

This commit is contained in:
Mike Reeves
2020-09-14 14:50:22 -04:00
parent 38266f7db8
commit 0a0e00866c
8 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -36,7 +36,7 @@
{% endif %}
{% if role in ['heavynode', 'standalone'] %}
{{ append_containers('global', 'zeekversion', 'SURICATA') }}
{{ append_containers('global', 'mdengine', 'SURICATA') }}
{% endif %}
{% if role == 'searchnode' %}
@@ -44,5 +44,5 @@
{% endif %}
{% if role == 'sensor' %}
{{ append_containers('global', 'zeekversion', 'SURICATA') }}
{{ append_containers('global', 'mdengine', 'SURICATA') }}
{% endif %}
+4 -1
View File
@@ -178,7 +178,10 @@ rc2_to_rc3() {
rm -rf /opt/so/saltstack/local/salt/idstools/localrules
rm -rf /opt/so/saltstack/default/salt/idstools/localrules
# Rename ZEEKVERSION to MDENGINE
# Rename mdengine to MDENGINE
sed -i "s/ mdengine/ mdengine/g" /opt/so/saltstack/local/pillar/global.sls
# Enable Strelka Rules
sed -i "/ rules:/c\ rules: 1" /opt/so/saltstack/local/pillar/global.sls
}