-
-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
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
Add validation of fpm and fpm-pools configuration files #565
base: master
Are you sure you want to change the base?
Conversation
Thanks for the contribution! Could you please add an acceptance test. |
@@ -64,6 +64,7 @@ | |||
Hash $pools = $php::real_fpm_pools, | |||
$log_owner = $php::log_owner, | |||
$log_group = $php::log_group, | |||
Boolean $disable_configtest = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would need a spec test to show that validate_cmd
is as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, indeed. I'll add a spec test for this parameter.
Dear @ffapitalle, thanks for the PR! This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Defines validation command for fpm service configuration files, and sets it as a requirement.
This adds the option to enable/disable fpm config file validation.
0c19042
to
c7817ae
Compare
Pull Request (PR) description
This PR adds validation check for fpm and fpm pools configuration file before applying changes.
Having introduced a misconfiguration on php-fpm that avoid the service to start normally (
pm.start_servers
>pm.max_spare_servers
), catalog application was successfull but service failed to restart.