differnet watchdog package names for debian vs redhat fams

This commit is contained in:
m0duspwnens
2023-08-25 13:03:33 -04:00
parent e28ff38d39
commit 0a88c812e8

View File

@@ -47,6 +47,12 @@ filestream_config:
FILESTREAMCONFIG: {{ STRELKAMERGED.filestream.config }}
# Filecheck Section
{% if GLOBALS.os_family == 'Debian' %}
install_watchdog:
pkg.installed:
- name: python3-watchdog
{% elif GLOBALS.os_family == 'RedHat' %}
remove_old_watchdog:
pkg.removed:
- name: python3-watchdog
@@ -54,6 +60,7 @@ remove_old_watchdog:
install_watchdog:
pkg.installed:
- name: securityonion-python39-watchdog
{% endif %}
filecheck_logdir:
file.directory: