Browse Source

FreeBSD: mod_suexec

master
Alexander Weidinger 8 years ago
parent
commit
4e12b404a4
3 changed files with 26 additions and 0 deletions
  1. +5
    -0
      README.rst
  2. +3
    -0
      apache/files/FreeBSD/mod_suexec.conf.jinja
  3. +18
    -0
      apache/mod_suexec.sls

+ 5
- 0
README.rst View File



Installs and enables the mod_ssl module (Debian, RedHat and FreeBSD only) Installs and enables the mod_ssl module (Debian, RedHat and FreeBSD only)


``mod_suexec``
---------------------

Enables mod_suexec. (FreeBSD only)

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



+ 3
- 0
apache/files/FreeBSD/mod_suexec.conf.jinja View File

{% from "apache/map.jinja" import apache with context %}

LoadModule suexec_module libexec/{{ apache.service }}/mod_suexec.so

+ 18
- 0
apache/mod_suexec.sls View File

{% from "apache/map.jinja" import apache with context %}

include:
- apache

{% if grains['os_family']=="FreeBSD" %}

{{ apache.modulesdir }}/040_mod_suexec.conf:
file.managed:
- source: salt://apache/files/{{ salt['grains.get']('os_family') }}/mod_suexec.conf.jinja
- mode: 644
- template: jinja
- require:
- pkg: apache
- watch_in:
- module: apache-restart

{% endif %}

Loading…
Cancel
Save