From 2c21dc0df6c44a116639f3021b298f32e1358491 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Wed, 14 Feb 2018 21:01:43 +0000 Subject: [PATCH] Fix mod_fastcgi state/repo --- README.rst | 4 ++-- apache/mod_fastcgi.sls | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index b207a42..6f03238 100644 --- a/README.rst +++ b/README.rst @@ -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) diff --git a/apache/mod_fastcgi.sls b/apache/mod_fastcgi.sls index bb065e8..d3c5117 100644 --- a/apache/mod_fastcgi.sls +++ b/apache/mod_fastcgi.sls @@ -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: