Merge pull request #222 from noelmcloughlin/FixFastCgi

Fix mod_fastcgi, mod_php5, and pkgrepo states
This commit is contained in:
N 2018-03-15 10:47:14 +00:00 committed by GitHub
commit da543013f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -103,7 +103,7 @@ Enables mod_cgi. (FreeBSD only)
``apache.mod_fcgid``
--------------------
Installs and enables the mod_fcgid module
Installs and enables the mod_fcgid module (Debian only)
``apache.mod_fastcgi``
--------------------
@ -129,7 +129,7 @@ Allows you to install the basic Core Rules (CRS) and some basic configuration fo
This state can create symlinks based on basic Core Rules package. (Debian only)
Or it can distribute a mod_security rule file and place it /etc/modsecurity/
``mod_socache_shmcb``
``apache.mod_socache_shmcb``
---------------------
Enables mod_socache_shmcb. (FreeBSD only)

View File

@ -15,8 +15,9 @@ mod-fastcgi:
repo-fastcgi:
pkgrepo.managed:
- name: "deb http://httpredir.debian.org/debian {{ grains['oscodename'] }}"
- name: "deb http://ftp.us.debian.org/debian {{ grains['oscodename'] }}"
- file: /etc/apt/sources.list.d/non-free.list
- onlyif: grep Debian /proc/version >/dev/null 2>&1
- comps: non-free
a2enmod fastcgi: