X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/60b19818712842f23e5039de2202f7ee45dbb614..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/php/recipes/fpm.rb?ds=sidebyside diff --git a/cookbooks/php/recipes/fpm.rb b/cookbooks/php/recipes/fpm.rb index 33baba2ab..2bebc87d2 100644 --- a/cookbooks/php/recipes/fpm.rb +++ b/cookbooks/php/recipes/fpm.rb @@ -18,9 +18,18 @@ # 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