Browse Source

Merge pull request #126 from artmoni/br_ssl

#125 activate ssl module
master
Forrest 8 years ago
parent
commit
9f7b7f1941
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      apache/mod_ssl.sls

+ 16
- 0
apache/mod_ssl.sls 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 %}

Loading…
Cancel
Save