Delete Red Hat provided ssl.conf (#243)

When using the mod_ssl state on Red Hat family systems the httpd
server will currently not start.

This is due to duplicate Listen directives provided in the
ssl.conf file shipped with the mod_ssl rpm package and the directives
configured by saltstack.

The easy solution is to just ensure the rpm shipped mod_ssl is removed.
This commit is contained in:
Andreas Thienemann 2018-10-27 23:27:27 +02:00 committed by Niels Abspoel
parent 894e970549
commit 4bba8862ab

View File

@ -33,6 +33,13 @@ mod_ssl:
- watch_in: - watch_in:
- module: apache-restart - module: apache-restart
{{ apache.confdir }}/ssl.conf:
file.absent:
- require:
- pkg: apache
- watch_in:
- service: apache
{% elif grains['os_family']=="FreeBSD" %} {% elif grains['os_family']=="FreeBSD" %}
include: include: