Update cookbooks

This commit is contained in:
Greg Karékinian
2016-04-16 00:15:56 +02:00
parent 3854ab7232
commit c50b096c37
127 changed files with 1792 additions and 7431 deletions

View File

@@ -28,7 +28,13 @@ end
if node['php-fpm']['pools']
node['php-fpm']['pools'].each do |pool|
php_fpm_pool pool[:name] do
if pool.is_a?(Array)
pool_name = pool[0]
pool = pool[1]
else
pool_name = pool[:name]
end
php_fpm_pool pool_name do
pool.each do |k, v|
self.params[k.to_sym] = v
end