Merge pull request #9059 from Security-Onion-Solutions/TOoSmOotH-patch-5

Update init.sls
This commit is contained in:
Mike Reeves
2022-11-02 13:01:38 -04:00
committed by GitHub
2 changed files with 14 additions and 2 deletions

View File

@@ -113,7 +113,6 @@ commonpkgs:
- python3-mysqldb - python3-mysqldb
- python3-packaging - python3-packaging
- python3-lxml - python3-lxml
- python3-watchdog
- git - git
- vim - vim
@@ -157,7 +156,6 @@ commonpkgs:
- python36-mysql - python36-mysql
- python36-packaging - python36-packaging
- python36-lxml - python36-lxml
- securityonion-python36-watchdog
- yum-utils - yum-utils
- device-mapper-persistent-data - device-mapper-persistent-data
- lvm2 - lvm2

View File

@@ -24,6 +24,20 @@
{% import_yaml 'strelka/defaults.yaml' as strelka_config with context %} {% import_yaml 'strelka/defaults.yaml' as strelka_config with context %}
{% set IGNORELIST = salt['pillar.get']('strelka:ignore', strelka_config.strelka.ignore, merge=True, merge_nested_lists=True) %} {% set IGNORELIST = salt['pillar.get']('strelka:ignore', strelka_config.strelka.ignore, merge=True, merge_nested_lists=True) %}
{% if grains['os'] != 'CentOS' %}
strelkapkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- python3-watchdog
{% else %}
strelkapkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- securityonion-python36-watchdog
{% endif %}
# Strelka config # Strelka config
strelkaconfdir: strelkaconfdir:
file.directory: file.directory: