Browse Source

#125 activate ssl module

master
sebastien.fleury 8 years ago
parent
commit
55c5bf598b
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      apache/mod_ssl.sls

+ 16
- 0
apache/mod_ssl.sls View File

{% 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…
Cancel
Save