mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
remove influx patch state files
This commit is contained in:
@@ -31,6 +31,22 @@ install_salt_minion:
|
|||||||
exec 1>&- # close stdout
|
exec 1>&- # close stdout
|
||||||
exec 2>&- # close stderr
|
exec 2>&- # close stderr
|
||||||
nohup /bin/sh -c '{{ UPGRADECOMMAND }}' &
|
nohup /bin/sh -c '{{ UPGRADECOMMAND }}' &
|
||||||
|
|
||||||
|
{# if we are the salt master #}
|
||||||
|
{% if grains.id.split('_')|first == grains.master %}
|
||||||
|
remove_influxdb_continuous_query_state_file:
|
||||||
|
file.absent:
|
||||||
|
- name: /opt/so/state/influxdb_continuous_query.py.patched
|
||||||
|
|
||||||
|
remove_influxdbmod_state_file:
|
||||||
|
file.absent:
|
||||||
|
- name: /opt/so/state/influxdbmod.py.patched
|
||||||
|
|
||||||
|
remove_influxdb_retention_policy_state_file:
|
||||||
|
file.absent:
|
||||||
|
- name: /opt/so/state/influxdb_retention_policy.py.patched
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if INSTALLEDSALTVERSION|string == SALTVERSION|string %}
|
{% if INSTALLEDSALTVERSION|string == SALTVERSION|string %}
|
||||||
|
|||||||
Reference in New Issue
Block a user