diff modules/website/manifests/php.pp @ 169:4efaba4fbe94 puppet-3.6

Expand PHP OpCache config in line with NextCloud recommendations
author IBBoard <dev@ibboard.co.uk>
date Fri, 01 Sep 2017 11:36:16 +0100
parents af30a5eb468f
children 89cd717361fd
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Fri Sep 01 11:29:55 2017 +0100
+++ b/modules/website/manifests/php.pp	Fri Sep 01 11:36:16 2017 +0100
@@ -42,8 +42,7 @@
     }
     file { '/etc/php.d/opcache.ini':
       ensure => present,
-      content => 'zend_extension=/usr/lib64/php/modules/opcache.so
-opcache.memory_consumption=64',
+      source => 'puppet:///modules/website/opcache.ini',
     }
   }
 }