- php_fpm name do
- template "fpm.conf.erb"
- variables data.merge(:name => name)
+ php_fpm name.to_s do
+ port data[:port]
+ pm data[:pm]
+ pm_max_children data[:max_children]
+ pm_start_servers 20
+ pm_min_spare_servers 10
+ pm_max_spare_servers 20
+ pm_max_requests 10000
directory build_directory
variables :pools => node[:nominatim][:fpm_pools],
:frontends => search(:node, "recipes:web\\:\\:frontend"),
directory build_directory
variables :pools => node[:nominatim][:fpm_pools],
:frontends => search(:node, "recipes:web\\:\\:frontend"),