]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/piwik/recipes/default.rb
Move common PHP setup logic to a new cookbook
[chef.git] / cookbooks / piwik / recipes / default.rb
index 5317c359610fd314cf8feb72d1f1fa99e850c767..990e1c33e84d85a997f13239518d740e30021b61 100644 (file)
 include_recipe "apache"
 include_recipe "geoipupdate"
 include_recipe "mysql"
+include_recipe "php::apache"
 
 passwords = data_bag_item("piwik", "passwords")
 
 package %w[
-  php
   php-cli
   php-curl
   php-mbstring
@@ -36,7 +36,6 @@ package %w[
 ]
 
 apache_module "expires"
-apache_module "php7.2"
 apache_module "rewrite"
 
 version = node[:piwik][:version]