Skip to content

Commit

Permalink
Add the correct parameters for debian 10 (#28)
Browse files Browse the repository at this point in the history
Add Parameter for debian 10 (Buster)

Add the correct parameters for debian 10 (Buster) that comes with php7.3
  • Loading branch information
Rabie-Zamane authored and Slashbunny committed May 20, 2019
1 parent bd41849 commit a1ff185
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/params.pp
Expand Up @@ -34,6 +34,13 @@
$config_dir = '/etc/php/7.0/fpm'
$pid_file = '/var/run/php/php7.0-fpm.pid'
$error_log = '/var/log/php7.0-fpm.log'
# Debian buster is ship with php7.3
} elsif (( $::operatingsystem == 'Debian' ) and ( versioncmp($::lsbdistrelease, '10.0') >= 0 )) {
$package_name = 'php7.3-fpm'
$service_name = 'php7.3-fpm'
$config_dir = '/etc/php/7.3/fpm'
$pid_file = '/run/php/php7.3-fpm.pid'
$error_log = '/var/log/php7.3-fpm.log'
# Debian stretch and above ship with php7 not php5
} elsif (( $::operatingsystem == 'Debian' ) and ( versioncmp($::lsbdistrelease, '9.0') >= 0 )) {
$package_name = 'php7.0-fpm'
Expand Down

0 comments on commit a1ff185

Please sign in to comment.