mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-03-06 21:06:03 +01:00
ensure proper version of python3-influxdb is installed prior to running the states that require it
This commit is contained in:
@@ -33,11 +33,12 @@ influxdb_retention_policy.present_patch:
|
||||
- {{PYTHONINSTALLER}}: python3_influxdb
|
||||
- pkg: patch_package
|
||||
|
||||
# We should be able to set reload_modules: True in this state in order to tell salt to reload its python modules due to us possibly installing
|
||||
# and possibly modifying modules in this state. This is bugged according to https://github.com/saltstack/salt/issues/24925
|
||||
influxdbmod.py_shard_duration_patch:
|
||||
file.patch:
|
||||
- name: {{ SALT_MODULE_CODE_PATH }}/influxdbmod.py
|
||||
- source: salt://salt/files/influxdbmod.py.patch
|
||||
- require:
|
||||
- {{PYTHONINSTALLER}}: python3_influxdb
|
||||
- pkg: patch_package
|
||||
- reload_modules: True
|
||||
- pkg: patch_package
|
||||
Reference in New Issue
Block a user