voxpupuli / voxpupuli/puppet-php

Setting process_control_timeout in php-fpm.conf

Open
#395 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.