X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/29e707d543bf1f2d75e39b91ed5b66e0b0212f6d..cf722cd9bc6500404ceae034393204b5f3082589:/cookbooks/php/resources/fpm.rb diff --git a/cookbooks/php/resources/fpm.rb b/cookbooks/php/resources/fpm.rb index abdc582c8..49df4effe 100644 --- a/cookbooks/php/resources/fpm.rb +++ b/cookbooks/php/resources/fpm.rb @@ -17,6 +17,8 @@ # limitations under the License. # +unified_mode true + default_action :create property :pool, :kind_of => String, :name_property => true @@ -91,7 +93,7 @@ action_class do if new_resource.port "tcp://127.0.0.1:#{new_resource.port}/status" else - "unix:///run/php/#{new_resource.pool}.sock;/status" + "unix:///run/php/php-#{new_resource.pool}-fpm.sock;/status" end end end