mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-03-01 18:35:26 +01:00
Move rm to post
This commit is contained in:
@@ -713,7 +713,9 @@ post_to_2.4.210() {
|
|||||||
/usr/sbin/so-yaml.py remove /opt/so/saltstack/local/pillar/elasticsearch/soc_elasticsearch.sls elasticsearch.managed_integrations
|
/usr/sbin/so-yaml.py remove /opt/so/saltstack/local/pillar/elasticsearch/soc_elasticsearch.sls elasticsearch.managed_integrations
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove so-rule-update script left behind by the idstools removal in 2.4.200
|
||||||
|
rm -f /usr/sbin/so-rule-update
|
||||||
|
|
||||||
POSTVERSION=2.4.210
|
POSTVERSION=2.4.210
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1004,8 +1006,6 @@ up_to_2.4.210() {
|
|||||||
# This state is used to deal with the breaking change introduced in 3006.17 - https://docs.saltproject.io/en/3006/topics/releases/3006.17.html
|
# This state is used to deal with the breaking change introduced in 3006.17 - https://docs.saltproject.io/en/3006/topics/releases/3006.17.html
|
||||||
# This is the only way the state is called so we can use concurrent=True
|
# This is the only way the state is called so we can use concurrent=True
|
||||||
salt-call state.apply salt.master.add_minimum_auth_version --file-root=$UPDATE_DIR/salt --local concurrent=True
|
salt-call state.apply salt.master.add_minimum_auth_version --file-root=$UPDATE_DIR/salt --local concurrent=True
|
||||||
# Remove so-rule-update script left behind by the idstools removal in 2.4.200
|
|
||||||
rm -f /usr/sbin/so-rule-update
|
|
||||||
INSTALLEDVERSION=2.4.210
|
INSTALLEDVERSION=2.4.210
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user