mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 19:22:54 +01:00
27 lines
630 B
Plaintext
27 lines
630 B
Plaintext
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
|
|
|
{% if GLOBALS.os != 'CentOS' %}
|
|
saltpymodules:
|
|
pkg.installed:
|
|
- pkgs:
|
|
{% if grains['oscodename'] == 'bionic' %}
|
|
- python-m2crypto
|
|
- python-docker
|
|
{% elif grains['oscodename'] == 'focal' %}
|
|
- python3-m2crypto
|
|
- python3-docker
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
salt_bootstrap:
|
|
file.managed:
|
|
- name: /usr/sbin/bootstrap-salt.sh
|
|
- source: salt://salt/scripts/bootstrap-salt.sh
|
|
- mode: 755
|
|
|
|
{% if GLOBALS.os == 'CentOS' %}
|
|
remove_salt-2019-2-5.repo:
|
|
file.absent:
|
|
- name: /etc/yum.repos.d/salt-2019-2-5.repo
|
|
{% endif %}
|