We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class { 'php': fpm => true, fpm_pools => { 'www' => { 'listen' => '0.0.0.0:9000', }, }, }
FPM is listening on localhost only (code above specifies all interfaces)
root@29b721b3c7a6:/# grep 'listen =' /etc/php/7.2/fpm/pool.d/www.conf listen = 127.0.0.1:9000
FPM is listening on all interfaces
root@29b721b3c7a6:/# grep 'listen =' /etc/php/7.2/fpm/pool.d/www.conf listen = 0.0.0.0:9000
I believe this is caused by #550. Hiera settings override the parameter default which is set to take the values from class php.
php
I tried to provide a test showing the expected behavior, but I couldn't figure out how and the test suite is broken anyway.
A possible solution might be to have the hiera defaults for php::fpm_pools instaed of php::fpm::pools, but that might well be a breaking change.
php::fpm_pools
php::fpm::pools
The text was updated successfully, but these errors were encountered:
I think this is a duplicate of #558 and is fixed in #572 but this needs a new release.
Sorry, something went wrong.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
FPM is listening on localhost only (code above specifies all interfaces)
What behaviour did you expect instead
FPM is listening on all interfaces
Output log
Any additional information you'd like to impart
I believe this is caused by #550. Hiera settings override the parameter default which is set to take the values from class
php
.I tried to provide a test showing the expected behavior, but I couldn't figure out how and the test suite is broken anyway.
A possible solution might be to have the hiera defaults for
php::fpm_pools
instaed ofphp::fpm::pools
, but that might well be a breaking change.The text was updated successfully, but these errors were encountered: