diff --git a/manifests/default_mods.pp b/manifests/default_mods.pp index edf18b350d..22ee2c95eb 100644 --- a/manifests/default_mods.pp +++ b/manifests/default_mods.pp @@ -139,7 +139,7 @@ include apache::mod::mime include apache::mod::negotiation include apache::mod::setenvif - ::apache::mod { 'auth_basic': } + include apache::mod::auth_basic if versioncmp($apache_version, '2.4') >= 0 { # filter is needed by mod_deflate