X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f11aec497a1d6a2f360f0d5e9b6f60d726a09f9a..3720032b9487e8cdd89eed9461ddeeac2c3cd764:/cookbooks/php/recipes/fpm.rb?ds=inline diff --git a/cookbooks/php/recipes/fpm.rb b/cookbooks/php/recipes/fpm.rb index be90a6783..ecda9640c 100644 --- a/cookbooks/php/recipes/fpm.rb +++ b/cookbooks/php/recipes/fpm.rb @@ -17,7 +17,6 @@ # limitations under the License. # -include_recipe "apache" include_recipe "php" package "php-fpm" @@ -26,16 +25,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