From 93a7911fdbdaab1bde58bd8b0c1b9c32eb2ea7be Mon Sep 17 00:00:00 2001 From: Patrick Brideau Date: Tue, 29 Nov 2022 13:12:33 -0500 Subject: [PATCH] fix(web): configure DirectoryIndex by default --- manifests/web.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/web.pp b/manifests/web.pp index 3c44a27fe..665ef4489 100644 --- a/manifests/web.pp +++ b/manifests/web.pp @@ -306,6 +306,7 @@ # Is set to true, it will create the apache vhost. if $manage_vhost { include apache + include apache::mod::dir if $facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '7') >= 0 and versioncmp($zabbix_version, '5') >= 0 { if versioncmp($facts['os']['release']['major'], '7') == 0 { $fpm_service = 'rh-php72-php-fpm'