#125 activate ssl module

This commit is contained in:
sebastien.fleury 2016-04-07 11:58:42 +02:00
parent ba0ba8686f
commit 55c5bf598b

16
apache/mod_ssl.sls Normal file
View File

@ -0,0 +1,16 @@
{% if grains['os_family']=="Debian" %}
include:
- apache
a2enmod mod_ssl:
cmd.run:
- name: a2enmod ssl
- unless: ls /etc/apache2/mods-enabled/ssl.load
- order: 225
- require:
- pkg: apache
- watch_in:
- module: apache-restart
{% endif %}