瀏覽代碼

Merge pull request #139 from tibberg/master

enable mod_ssl on Redhat
master
Forrest 8 年之前
父節點
當前提交
23f4e68e6a
共有 2 個文件被更改,包括 14 次插入0 次删除
  1. +5
    -0
      README.rst
  2. +9
    -0
      apache/mod_ssl.sls

+ 5
- 0
README.rst 查看文件

@@ -93,6 +93,11 @@ using data from Pillar. (Debian and RedHat Only)

Allows you to install the basic Core Rules (CRS) and some basic configuration for mod_security2

``apache.mod_ssl``
----------------------

Installs and enables the mod_ssl module (Debian and RedHad only)

``apache.mod_vhost_alias``
----------------------


+ 9
- 0
apache/mod_ssl.sls 查看文件

@@ -13,4 +13,13 @@ a2enmod mod_ssl:
- watch_in:
- module: apache-restart

{% elif grains['os_family']=="RedHat" %}

mod_ssl:
pkg.installed:
- require:
- pkg: apache
- watch_in:
- module: apache-restart

{% endif %}

Loading…
取消
儲存