]> git.openstreetmap.org Git - chef.git/commitdiff
Install php-fpm whenever we install php
authorTom Hughes <tom@compton.nu>
Tue, 14 Jul 2020 08:17:13 +0000 (09:17 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 14 Jul 2020 08:32:34 +0000 (09:32 +0100)
This stops apt (un)helpfully installing and activating mod_php for us.

cookbooks/php/recipes/default.rb

index b5962dd9fe0599e913e7316d802b1b2c3dfad199..3164006a42d4eac19bd1f03481e3ff637bf68204 100644 (file)
@@ -17,4 +17,7 @@
 # limitations under the License.
 #
 
-package "php"
+package %W[
+  php
+  php#{node[:php][:version]}-fpm
+]