]> git.openstreetmap.org Git - chef.git/commitdiff
Force pool name to be included in the FPM template parameters
authorTom Hughes <tom@compton.nu>
Sun, 29 Nov 2020 12:21:38 +0000 (12:21 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 29 Nov 2020 12:21:38 +0000 (12:21 +0000)
cookbooks/php/resources/fpm.rb

index c461cf679c065b189df7ccb7ae330e7651e1e94f..0178e64ce664f47cbc3510a935e31fa4612755e4 100644 (file)
@@ -45,7 +45,7 @@ action :create do
     owner "root"
     group "root"
     mode "644"
-    variables new_resource.to_hash
+    variables new_resource.to_hash.merge(:pool => new_resource.pool)
   end
 
   if new_resource.prometheus_port