#125 activate ssl module
This commit is contained in:
parent
ba0ba8686f
commit
55c5bf598b
16
apache/mod_ssl.sls
Normal file
16
apache/mod_ssl.sls
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user