Skip to content
Permalink
Browse files

Upgrade to php 7.4

  • Loading branch information
FlorianSW committed Dec 14, 2019
1 parent f6c9bb4 commit 1e1bbefc295ac7cdbb00b25e6b7270962164549e
Showing with 9 additions and 6 deletions.
  1. +3 −3 modules/monit/templates/{php7.3-fpm.erb → php7.4-fpm.erb}
  2. +6 −3 modules/role/manifests/php.pp
@@ -2,9 +2,9 @@
# THIS FILE IS MANAGED BY PUPPET
#

check process php7.3-fpm with pidfile /var/run/php/php7.3-fpm.pid
start program = "/etc/init.d/php7.3-fpm start" with timeout 60 seconds
stop program = "/etc/init.d/php7.3-fpm stop"
check process php7.4-fpm with pidfile /var/run/php/php7.4-fpm.pid
start program = "/etc/init.d/php7.4-fpm start" with timeout 60 seconds
stop program = "/etc/init.d/php7.4-fpm stop"
if cpu > 60% for 2 cycles then alert
if cpu > 80% for 5 cycles then restart
if loadavg(5min) greater than 10 for 8 cycles then restart
@@ -1,7 +1,7 @@
# Installs and configures a PHP runtime on the
# server.
class role::php(
$php_version = '7.3',
$php_version = '7.4',
) {
# wikidiff2 apt repository
apt::source { 'ppa-floriansw-droidwiki':
@@ -80,10 +80,13 @@
curl => {
provider => 'apt',
},
ldap => {
gd => {
provider => 'apt',
},
gd => {
igbinary => {
provider => 'apt',
},
msgpack => {
provider => 'apt',
}
},

0 comments on commit 1e1bbef

Please sign in to comment.
You can’t perform that action at this time.