Mercurial > repos > other > Puppet
diff modules/website/manifests/php.pp @ 419:0c627ff3a7c3
Fix PHP setup on CentOS
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 08 Oct 2022 15:53:01 +0100 |
parents | 76d18a918e7f |
children | 8421eb25c329 |
line wrap: on
line diff
--- a/modules/website/manifests/php.pp Sat Oct 08 15:24:44 2022 +0100 +++ b/modules/website/manifests/php.pp Sat Oct 08 15:53:01 2022 +0100 @@ -11,10 +11,16 @@ else { $pcre_jit = 1 } + + file { '/run/php/': + ensure => directory, + } -> class { '::php': ensure => present, manage_repos => false, fpm => true, + fpm_service_enable => true, + fpm_service_ensure => 'running', fpm_pools => { 'www' => { 'listen' => '/run/php/php-fpm.sock',