From 66f8bf25e21da4ee55ad08c57d9bb3344a8a4e28 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Thu, 13 Nov 2014 12:55:15 +0200 Subject: [PATCH] apache: Add support for mod_authz_groupfile --- apache/manifests/init.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apache/manifests/init.pp b/apache/manifests/init.pp index dea144a..f8c1864 100644 --- a/apache/manifests/init.pp +++ b/apache/manifests/init.pp @@ -559,6 +559,24 @@ class apache::mod::authnz_ldap { } + +# Install mod_authz_groupfile. +# +class apache::mod::authz_groupfile { + + case $::operatingsystem { + "centos","redhat","fedora": { } + "ubuntu": { + apache::ubuntu::a2enmod { "authz_groupfile": } + } + default: { + fail("Apache module not supported in ${::operatingsystem}.") + } + } + +} + + # Install mod_include # class apache::mod::include { @@ -575,6 +593,7 @@ class apache::mod::include { } + # Install mod_fcgid. # # === Parameters