mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 19:52:51 +01:00
differnet watchdog package names for debian vs redhat fams
This commit is contained in:
@@ -47,6 +47,12 @@ filestream_config:
|
|||||||
FILESTREAMCONFIG: {{ STRELKAMERGED.filestream.config }}
|
FILESTREAMCONFIG: {{ STRELKAMERGED.filestream.config }}
|
||||||
|
|
||||||
# Filecheck Section
|
# Filecheck Section
|
||||||
|
{% if GLOBALS.os_family == 'Debian' %}
|
||||||
|
install_watchdog:
|
||||||
|
pkg.installed:
|
||||||
|
- name: python3-watchdog
|
||||||
|
|
||||||
|
{% elif GLOBALS.os_family == 'RedHat' %}
|
||||||
remove_old_watchdog:
|
remove_old_watchdog:
|
||||||
pkg.removed:
|
pkg.removed:
|
||||||
- name: python3-watchdog
|
- name: python3-watchdog
|
||||||
@@ -54,6 +60,7 @@ remove_old_watchdog:
|
|||||||
install_watchdog:
|
install_watchdog:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: securityonion-python39-watchdog
|
- name: securityonion-python39-watchdog
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
filecheck_logdir:
|
filecheck_logdir:
|
||||||
file.directory:
|
file.directory:
|
||||||
|
|||||||
Reference in New Issue
Block a user