Mercurial > repos > other > Puppet
changeset 240:960e737a120e puppet-3.6
Deduplicate PHP opcache config files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 20 Dec 2019 11:48:24 +0000 |
parents | 001e2f446837 |
children | 1901eea3befe |
files | modules/website/manifests/php.pp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/modules/website/manifests/php.pp Fri Dec 20 11:47:01 2019 +0000 +++ b/modules/website/manifests/php.pp Fri Dec 20 11:48:24 2019 +0000 @@ -46,7 +46,11 @@ notify => Service['httpd'], require => Package[$php_core], } + # Use Remi's (and the OS's) naming convention file { '/etc/php.d/opcache.ini': + ensure => absent, + } + file { '/etc/php.d/10-opcache.ini': ensure => present, source => 'puppet:///modules/website/opcache.ini', }