From 55c5bf598be642b89666d5e04b909fd9d9f04952 Mon Sep 17 00:00:00 2001 From: "sebastien.fleury" Date: Thu, 7 Apr 2016 11:58:42 +0200 Subject: [PATCH] #125 activate ssl module --- apache/mod_ssl.sls | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apache/mod_ssl.sls diff --git a/apache/mod_ssl.sls b/apache/mod_ssl.sls new file mode 100644 index 0000000..c7f8aef --- /dev/null +++ b/apache/mod_ssl.sls @@ -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 %}