]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/recipes/fpm.rb
Configure phpfpm exporter for main wiki
[chef.git] / cookbooks / php / recipes / fpm.rb
index 3b4a1d1c1aa275c1ce7522906632fe16501b9759..4fbbc881a5945857acf40155a641e18da3ab2611 100644 (file)
@@ -17,8 +17,8 @@
 # limitations under the License.
 #
 
-include_recipe "apache"
 include_recipe "php"
+include_recipe "prometheus"
 
 package "php-fpm"
 
@@ -26,7 +26,7 @@ template "/etc/php/#{node[:php][:version]}/fpm/conf.d/99-chef.ini" do
   source "php-fpm.ini.erb"
   owner "root"
   group "root"
-  mode 0o644
+  mode "644"
   notifies :restart, "service[php#{node[:php][:version]}-fpm]"
 end
 
@@ -34,9 +34,3 @@ service "php#{node[:php][:version]}-fpm" do
   action [:enable, :start]
 end
 
-apache_module "proxy"
-apache_module "proxy_fcgi"
-
-apache_conf "php#{node[:php][:version]}-fpm" do
-  action :enable
-end