SSL Module - Fix CentOS m2crypto

This commit is contained in:
Mike Reeves
2018-09-11 10:43:15 -04:00
parent 431868e90b
commit ea50edf04d

View File

@@ -8,12 +8,13 @@ trusttheca:
- text: {{ salt['mine.get'](master, 'x509.get_pem_entries')[master]['/etc/pki/ca.crt']|replace('\n', '') }}
# Install packages needed for the sensor
{% if grains['os'] != 'CentOS' %}
m2cryptopkgs:
pkg.installed:
- skip_suggestions: False
- pkgs:
- python-m2crypto
{% endif %}
{% if grains['role'] == 'so-master' %}
# Request a cert and drop it where it needs to go to be distributed