mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
SSL Module - Fix CentOS m2crypto
This commit is contained in:
@@ -8,12 +8,13 @@ trusttheca:
|
|||||||
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||||
|
|
||||||
# Install packages needed for the sensor
|
# Install packages needed for the sensor
|
||||||
|
{% if grains['os'] != 'CentOS' %}
|
||||||
m2cryptopkgs:
|
m2cryptopkgs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- skip_suggestions: False
|
- skip_suggestions: False
|
||||||
- pkgs:
|
- pkgs:
|
||||||
- python-m2crypto
|
- python-m2crypto
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if grains['role'] == 'so-master' %}
|
{% if grains['role'] == 'so-master' %}
|
||||||
# Request a cert and drop it where it needs to go to be distributed
|
# Request a cert and drop it where it needs to go to be distributed
|
||||||
|
|||||||
Reference in New Issue
Block a user