changeset 433:e7491c126d95

Set filename on php.conf This _should_ prevent PHP exploding every time our PHP package updates and it recreates the default config file.
author IBBoard <dev@ibboard.co.uk>
date Tue, 21 Feb 2023 15:56:26 +0000
parents d05e9281909c
children a4cf3d8f2072
files modules/website/manifests/php.pp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Tue Feb 21 15:54:18 2023 +0000
+++ b/modules/website/manifests/php.pp	Tue Feb 21 15:56:26 2023 +0000
@@ -80,7 +80,8 @@
   }
   apache::custom_config { "php.conf":
     ensure => present,
-    source => "puppet:///modules/website/php.conf"
+    source => "puppet:///modules/website/php.conf",
+    filename => "php.conf",
   }
   class { ['apache::mod::proxy', 'apache::mod::proxy_fcgi']:}
 }