File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919class php::globals (
2020
21- Optional[Pattern[/^(rh-)?(php)?[57 ](\.)?[0-9]/]] $php_version = undef ,
21+ Optional[Pattern[/^(rh-)?(php)?[578 ](\.)?[0-9]/]] $php_version = undef ,
2222 Optional[Stdlib::Absolutepath] $config_root = undef ,
2323 Optional[Stdlib::Absolutepath] $fpm_pid_file = undef ,
2424 Optional[Enum[' rhscl' , ' remi' ]] $rhscl_mode = undef ,
4545 ' Debian' : {
4646 if $facts [' os' ][' name' ] == ' Ubuntu' {
4747 case $globals_php_version {
48- /^[57 ].[0-9]/: {
48+ /^[578 ].[0-9]/: {
4949 $default_config_root = " /etc/php/${globals_php_version} "
5050 $default_fpm_pid_file = " /var/run/php/php${globals_php_version} -fpm.pid"
5151 $fpm_error_log = " /var/log/php${globals_php_version} -fpm.log"
6969 } else {
7070 case $globals_php_version {
7171 /^5\.6/,
72- /^7\.[0-9]/: {
72+ /^7\.[0-9]/,
73+ /^8\.[0-9]/: {
7374 $default_config_root = " /etc/php/${globals_php_version} "
7475 $default_fpm_pid_file = " /var/run/php/php${globals_php_version} -fpm.pid"
7576 $fpm_error_log = " /var/log/php${globals_php_version} -fpm.log"
You can’t perform that action at this time.
0 commit comments