]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/forum/recipes/default.rb
Move common PHP setup logic to a new cookbook
[chef.git] / cookbooks / forum / recipes / default.rb
index 1e5a4216fb80ee6b6329b3667f811f71b6a1037e..5bc7da4649b61630838e957ef6ca837caf9cacac 100644 (file)
@@ -21,13 +21,13 @@ include_recipe "accounts"
 include_recipe "apache"
 include_recipe "git"
 include_recipe "mysql"
+include_recipe "php::apache"
 
 cache_dir = Chef::Config[:file_cache_path]
 
 passwords = data_bag_item("forum", "passwords")
 
 package %w[
-  php
   php-cli
   php-mysql
   php-xml
@@ -35,7 +35,6 @@ package %w[
   unzip
 ]
 
-apache_module "php7.2"
 apache_module "rewrite"
 
 ssl_certificate "forum.openstreetmap.org" do