mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
enable mod_ssl on Redhat
This commit is contained in:
parent
c9344cf81c
commit
98e9c00661
2 changed files with 14 additions and 0 deletions
|
@ -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``
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue