yevgenko / cookbook-php-fpm

Installs/Configures php-fpm
http://community.opscode.com/cookbooks/php-fpm
Apache License 2.0
68 stars 117 forks source link

Disable default www pool if not defined in pools attribute. #51

Closed razor-x closed 10 years ago

razor-x commented 10 years ago

The package that's installed (at least on Ubuntu) will add /etc/php5/fpm/pool.d/www.conf. Thus, even if this pool is not in node['php-fpm']['pools'], it will still be enabled after the node converges.

This removes this stock pool unless it is detected in node['php-fpm']['pools'].

razor-x commented 10 years ago

Going to remake this on a separate branch.