Puppet Class: config

Inherits:
php::params show all
Defined in:
manifests/fpm/config.pp

Overview

Configure php-fpm service

Parameters

config_file

The path to the fpm config file

user

The user that runs php-fpm

group

The group that runs php-fpm

inifile

The path to ini file

settings

Nested hash of key => value to apply to php.ini

pool_base_dir

The folder that contains the php-fpm pool configs

pool_purge

Whether to purge pool config files not created by this module

error_log

Path to error log file. If it's set to “syslog”, log is sent to syslogd instead of being written in a local file.

log_level

The php-fpm log level

emergency_restart_threshold

The php-fpm emergency_restart_threshold

emergency_restart_interval

The php-fpm emergency_restart_interval

process_control_timeout

The php-fpm process_control_timeout

process_max

The maximum number of processes FPM will fork.

rlimit_files

Set open file descriptor rlimit for the master process.

systemd_interval

The interval between health report notification to systemd

log_owner

The php-fpm log owner

log_group

The group owning php-fpm logs

log_dir_mode

The octal mode of the directory

syslog_facility

Used to specify what type of program is logging the message

syslog_ident

Prepended to every message

root_group

UNIX group of the root user

pid_file

Path to fpm pid file

Parameter Summary

  • config_file (Any) => $::php::params::fpm_config_file
  • user (Any) => $::php::params::fpm_user
  • group (Any) => $::php::params::fpm_group
  • inifile (Any) => $::php::params::fpm_inifile
  • pid_file (Any) => $::php::params::fpm_pid_file
  • settings (Any) => {}
  • pool_base_dir (Any) => $::php::params::fpm_pool_dir
  • pool_purge (Any) => false
  • error_log (Any) => $::php::params::fpm_error_log
  • log_level (Any) => 'notice'
  • emergency_restart_threshold (Any) => '0'
  • emergency_restart_interval (Any) => '0'
  • process_control_timeout (Any) => '0'
  • process_max (Any) => '0'
  • rlimit_files (Any) => undef
  • systemd_interval (Any) => undef
  • log_owner (Any) => $::php::params::fpm_user
  • log_group (Any) => $::php::params::fpm_group
  • log_dir_mode (Any) => '0770'
  • root_group (Any) => $::php::params::root_group
  • syslog_facility (Any) => 'daemon'
  • syslog_ident (Any) => 'php-fpm'