Merge pull request #126 from artmoni/br_ssl

#125 activate ssl module
This commit is contained in:
Forrest 2016-04-07 11:28:46 -07:00
commit 9f7b7f1941

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 %}