|
389 | 389 | 'wsgi' => 'libapache2-mod-wsgi', |
390 | 390 | 'xsendfile' => 'libapache2-mod-xsendfile', |
391 | 391 | } |
392 | | - } elsif ($::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '9') >= 0) or ($::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease, '18.04') >= 0) { |
| 392 | + } else { |
393 | 393 | $php_version = $facts['operatingsystemmajrelease'] ? { |
394 | 394 | '9' => '7.0', # Debian Stretch |
| 395 | + '16.04' => '7.0', # Ubuntu Xenial |
395 | 396 | '10' => '7.3', # Debian Buster |
396 | 397 | '20.04' => '7.4', # Ubuntu Foccal Fossal |
397 | 398 | default => '7.2', # Ubuntu Bionic, Cosmic and Disco |
|
423 | 424 | 'wsgi' => 'libapache2-mod-wsgi', |
424 | 425 | 'xsendfile' => 'libapache2-mod-xsendfile', |
425 | 426 | } |
426 | | - } else { |
427 | | - # Ubuntu Xenial |
428 | | - $php_version = '7.0' |
429 | | - $mod_packages = { |
430 | | - 'auth_cas' => 'libapache2-mod-auth-cas', |
431 | | - 'auth_kerb' => 'libapache2-mod-auth-kerb', |
432 | | - 'auth_openidc' => 'libapache2-mod-auth-openidc', |
433 | | - 'auth_gssapi' => 'libapache2-mod-auth-gssapi', |
434 | | - 'auth_mellon' => 'libapache2-mod-auth-mellon', |
435 | | - 'authnz_pam' => 'libapache2-mod-authnz-pam', |
436 | | - 'dav_svn' => 'libapache2-svn', |
437 | | - 'fastcgi' => 'libapache2-mod-fastcgi', |
438 | | - 'fcgid' => 'libapache2-mod-fcgid', |
439 | | - 'geoip' => 'libapache2-mod-geoip', |
440 | | - 'intercept_form_submit' => 'libapache2-mod-intercept-form-submit', |
441 | | - 'jk' => 'libapache2-mod-jk', |
442 | | - 'lookup_identity' => 'libapache2-mod-lookup-identity', |
443 | | - 'nss' => 'libapache2-mod-nss', |
444 | | - 'pagespeed' => 'mod-pagespeed-stable', |
445 | | - 'passenger' => 'libapache2-mod-passenger', |
446 | | - 'perl' => 'libapache2-mod-perl2', |
447 | | - 'phpXXX' => 'libapache2-mod-phpXXX', |
448 | | - 'python' => 'libapache2-mod-python', |
449 | | - 'rpaf' => 'libapache2-mod-rpaf', |
450 | | - 'security' => 'libapache2-modsecurity', |
451 | | - 'shib2' => 'libapache2-mod-shib2', |
452 | | - 'suphp' => 'libapache2-mod-suphp', |
453 | | - 'wsgi' => 'libapache2-mod-wsgi', |
454 | | - 'xsendfile' => 'libapache2-mod-xsendfile', |
455 | | - } |
456 | 427 | } |
457 | 428 | $error_log = 'error.log' |
458 | 429 | $scriptalias = '/usr/lib/cgi-bin' |
|
0 commit comments