#
include_recipe "php"
+include_recipe "prometheus"
package "php-fpm"
+template "/etc/php/#{node[:php][:version]}/fpm/conf.d/99-chef.ini" do
+ source "php-fpm.ini.erb"
+ owner "root"
+ group "root"
+ mode "644"
+ notifies :restart, "service[php#{node[:php][:version]}-fpm]"
+end
+
service "php#{node[:php][:version]}-fpm" do
action [:enable, :start]
end