comparison modules/website/manifests/php.pp @ 120:b00eb9434938 puppet-3.6

Disable PCRE JIT to stop SELinux giving "denied execmem" for Apache This probably hits performance slightly, but at least now we'll be able to see what happens in audit.log and it won't roll over every few hours!
author IBBoard <dev@ibboard.co.uk>
date Sat, 13 Aug 2016 13:44:01 +0100
parents ef0926ee389a
children 0dd899a10ee1
comparison
equal deleted inserted replaced
119:95502bafeaa3 120:b00eb9434938
29 content => 'allow_url_fopen = \'off\' 29 content => 'allow_url_fopen = \'off\'
30 expose_php = Off', 30 expose_php = Off',
31 } 31 }
32 file { '/etc/php.d/custom-php.ini': 32 file { '/etc/php.d/custom-php.ini':
33 ensure => present, 33 ensure => present,
34 content => 'default_charset = \'UTF-8\'', 34 source => 'puppet:///modules/website/custom-php.ini',
35 } 35 }
36 36
37 if $opcache { 37 if $opcache {
38 package { "php${suffix}-${opcache}": 38 package { "php${suffix}-${opcache}":
39 ensure => latest, 39 ensure => latest,