X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/182de93dc521b6bf8ba23f4498b368d6fd20f3fe..558691451db4f029698b996d7df8c8cf272b3b8b:/cookbooks/php/recipes/fpm.rb?ds=inline diff --git a/cookbooks/php/recipes/fpm.rb b/cookbooks/php/recipes/fpm.rb index 3b4a1d1c1..2bebc87d2 100644 --- a/cookbooks/php/recipes/fpm.rb +++ b/cookbooks/php/recipes/fpm.rb @@ -17,8 +17,8 @@ # limitations under the License. # -include_recipe "apache" include_recipe "php" +include_recipe "prometheus" package "php-fpm" @@ -26,17 +26,10 @@ 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 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