voxpupuli / voxpupuli/puppet-php
Setting process_control_timeout in php-fpm.conf
Nobody has claimed this yet.
- Dominant language
- Puppet
- Stars
- 86
- Forks
- 264
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
It looks like this was exposed in a release of 3.x to allow us to set process_control_timeout in php-fpm.conf but we have a tried the follow methods and it didn't work.
In heira we have tried three methods:
php::fpm::config:
process_control_timeout: 30
php::fpm::settings:
process_control_timeout: 30
php::fpm::config::process_control_timeout: 30
In our manifest we tried the following two methods.
$php::fpm::config::process_control_timeout='30'
as well as
class { '::php::fpm::config':
process_control_timeout => '30'
}
This threw an error about duplicate declaration because of the use in fpm.pp.
I'm sure we are missing something very simple but I'm unable to figure out how to change this setting.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the php::fpm::config and fpm.pp declarations referenced in the report, then reproduce the three Hiera forms and the manifest examples. Done means process_control_timeout can be set without a duplicate declaration error and is reflected in php-fpm.conf.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100