Puppet Class: fpm

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

Overview

Install and configure mod_php for fpm

Parameters

service_enable

Enable/disable FPM service

service_ensure

Ensure FPM service is either 'running' or 'stopped'

service_name

This is the name of the php-fpm service. It defaults to reasonable OS defaults but can be different in case of using php7.0/other OS/custom fpm service

service_provider

This is the name of the service provider, in case there is a non OS default service provider used to start FPM. Defaults to 'undef', pick system defaults.

pools

Hash of php::fpm::pool resources that will be created. Defaults to a single php::fpm::pool named www with default parameters.

log_owner

The php-fpm log owner

log_group

The group owning php-fpm logs

package

Specify which package to install

ensure

Specify which version of the package to install

inifile

Path to php.ini for fpm

settings

fpm settings hash

global_pool_settings

Hash of defaults params php::fpm::pool resources that will be created. Defaults is empty hash.

Parameter Summary

  • ensure (Any) => $::php::ensure
  • service_ensure (Any) => $::php::params::fpm_service_ensure
  • service_enable (Any) => $::php::params::fpm_service_enable
  • service_name (Any) => $::php::params::fpm_service_name
  • service_provider (Any) => undef
  • package (Any) => "${::php::package_prefix}${::php::params::fpm_package_suffix}"
  • inifile (Any) => $::php::params::fpm_inifile
  • settings (Any) => {}
  • global_pool_settings (Any) => {}
  • pools (Any) => { 'www' => {} }
  • log_owner (Any) => $::php::params::fpm_user
  • log_group (Any) => $::php::params::fpm_group