Puppet Class: php::php_fpm

Inherits:
::php::params
Defined in:
manifests/php_fpm.pp

Overview

Parameters:

  • package_name_fpm (Any) (defaults to: $::php::params::package_name_fpm)
  • configfile_wwwconf (Any) (defaults to: $::php::params::configfile_wwwconf)
  • template_wwwconf (Any) (defaults to: 'php/www.conf.erb')
  • user (Any) (defaults to: undef)
  • group (Any) (defaults to: undef)
  • listen (Any) (defaults to: undef)
  • listen_owner (Any) (defaults to: undef)
  • listen_group (Any) (defaults to: undef)
  • listen_allowed_clients (Any) (defaults to: undef)
  • pm (Any) (defaults to: undef)
  • pm_max_children (Any) (defaults to: undef)
  • pm_start_servers (Any) (defaults to: undef)
  • pm_min_spare_servers (Any) (defaults to: undef)
  • pm_max_spare_servers (Any) (defaults to: undef)
  • slowlog (Any) (defaults to: undef)
  • chdir (Any) (defaults to: undef)
  • php_admin_value_error_log (Any) (defaults to: undef)
  • php_admin_flag_log_errors (Any) (defaults to: undef)
  • php_value_session_save_handler (Any) (defaults to: undef)
  • php_value_session_save_path (Any) (defaults to: undef)
  • php_value_soap_wsdl_cache_dir (Any) (defaults to: undef)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'manifests/php_fpm.pp', line 1

class php::php_fpm (
  $package_name_fpm               = $::php::params::package_name_fpm,
  $configfile_wwwconf             = $::php::params::configfile_wwwconf,
  $template_wwwconf               = 'php/www.conf.erb',
  $user                           = undef,
  $group                          = undef,
  $listen                         = undef,
  $listen_owner                   = undef,
  $listen_group                   = undef,
  $listen_allowed_clients         = undef,
  $pm                             = undef,
  $pm_max_children                = undef,
  $pm_start_servers               = undef,
  $pm_min_spare_servers           = undef,
  $pm_max_spare_servers           = undef,
  $slowlog                        = undef,
  $chdir                          = undef,
  $php_admin_value_error_log      = undef,
  $php_admin_flag_log_errors      = undef,
  $php_value_session_save_handler = undef,
  $php_value_session_save_path    = undef,
  $php_value_soap_wsdl_cache_dir  = undef,
) inherits ::php::params {
  file { $configfile_wwwconf:
    require => Package[$package_name_fpm],
    backup  => '.backup',
    content => template($template_wwwconf),
  }
}