Puppet Class: php::fpm
- Inherits:
- php::fpm::params
- Defined in:
- manifests/fpm.pp
Overview
Class: php::fpm
Install and configure mod_php for fpm
Parameters
- ensure
-
The ensure of the fpm package to install Could be “latest”, “installed” or a pinned verison
- package
-
The package name for fpm package For debian it’s php5-fpm
- provider
-
The provider used to install php5-fpm Could be “pecl”, “apt” or any other OS package provider
- inifile
-
The path to the ini php5-fpm ini file
- settings
-
Hash with ‘set’ nested hash of key => value set changes to agues when applied to inifile
Variables
No variables
Examples
include php::fpm
Authors
Christian “Jippi” Winther <jippignu@gmail.com>
Copyright
Copyright 2012-2013 Christian “Jippi” Winther, unless otherwise noted.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'manifests/fpm.pp', line 42
class php::fpm(
$ensure = $php::fpm::params::ensure,
$package = $php::fpm::params::package,
$provider = $php::fpm::params::provider,
$inifile = $php::fpm::params::inifile,
$settings = $php::fpm::params::settings,
$service_name = $php::fpm::params::service_name
) inherits php::fpm::params {
include php::fpm::package
include php::fpm::service
php::fpm::config { 'php-fpm':
file => $inifile,
config => $settings
}
}
|