apache-formula/apache/mod_ssl.sls

17 lines
277 B
Plaintext
Raw Normal View History

2016-04-07 11:58:42 +02:00
{% 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 %}