mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9059 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update init.sls
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user