|
175 | 175 | $mod_dir = "${httpd_dir}/conf.modules.d" |
176 | 176 | } else { |
177 | 177 | $mod_dir = $facts['operatingsystemmajrelease'] ? { |
178 | | - '7' => "${httpd_dir}/conf.modules.d", |
179 | | - '8' => "${httpd_dir}/conf.modules.d", |
180 | | - default => "${httpd_dir}/conf.d", |
| 178 | + '6' => "${httpd_dir}/conf.d", |
| 179 | + default => "${httpd_dir}/conf.modules.d", |
181 | 180 | } |
182 | 181 | } |
183 | 182 | $mod_enable_dir = undef |
|
214 | 213 | 'auth_mellon' => 'mod_auth_mellon', |
215 | 214 | 'auth_openidc' => 'mod_auth_openidc', |
216 | 215 | 'authnz_ldap' => $facts['operatingsystemmajrelease'] ? { |
217 | | - '7' => 'mod_ldap', |
218 | | - '8' => 'mod_ldap', |
219 | | - default => 'mod_authz_ldap', |
| 216 | + '6' => 'mod_authz_ldap', |
| 217 | + default => 'mod_ldap', |
220 | 218 | }, |
221 | 219 | 'authnz_pam' => 'mod_authnz_pam', |
222 | 220 | 'fastcgi' => $facts['operatingsystemmajrelease'] ? { |
|
255 | 253 | 'shibboleth' => 'shibboleth', |
256 | 254 | 'ssl' => 'mod_ssl', |
257 | 255 | 'wsgi' => $facts['operatingsystemmajrelease'] ? { |
258 | | - '8' => 'python3-mod_wsgi', # RedHat8 |
259 | | - default => 'mod_wsgi', # RedHat5, RedHat6, RedHat7 |
| 256 | + '6' => 'mod_wsgi', # RedHat6 |
| 257 | + '7' => 'mod_wsgi', # RedHat7 |
| 258 | + default => 'python3-mod_wsgi', # RedHat8+ |
260 | 259 | }, |
261 | 260 | 'dav_svn' => 'mod_dav_svn', |
262 | 261 | 'suphp' => 'mod_suphp', |
|
267 | 266 | $mod_libs = { |
268 | 267 | 'nss' => 'libmodnss.so', |
269 | 268 | 'wsgi' => $facts['operatingsystemmajrelease'] ? { |
270 | | - '8' => 'mod_wsgi_python3.so', |
271 | | - default => 'mod_wsgi.so', |
| 269 | + '6' => 'mod_wsgi.so', |
| 270 | + '7' => 'mod_wsgi.so', |
| 271 | + default => 'mod_wsgi_python3.so', |
272 | 272 | }, |
273 | 273 | } |
274 | 274 | $conf_template = 'apache/httpd.conf.erb' |
|
281 | 281 | $mime_types_config = '/etc/mime.types' |
282 | 282 | $docroot = '/var/www/html' |
283 | 283 | $alias_icons_path = $facts['operatingsystemmajrelease'] ? { |
284 | | - '7' => '/usr/share/httpd/icons', |
285 | | - '8' => '/usr/share/httpd/icons', |
286 | | - default => '/var/www/icons', |
| 284 | + '6' => '/var/www/icons', |
| 285 | + default => '/usr/share/httpd/icons', |
287 | 286 | } |
288 | 287 | $error_documents_path = $facts['operatingsystemmajrelease'] ? { |
289 | | - '7' => '/usr/share/httpd/error', |
290 | | - '8' => '/usr/share/httpd/error', |
291 | | - default => '/var/www/error' |
| 288 | + '6' => '/var/www/error', |
| 289 | + default => '/usr/share/httpd/error', |
292 | 290 | } |
293 | 291 | if $::osfamily == 'RedHat' { |
294 | 292 | $wsgi_socket_prefix = '/var/run/wsgi' |
|
0 commit comments