Puppet Class: serverdensity_agent::plugin::php_fpm
- Defined in:
- manifests/plugin/php_fpm.pp
Overview
Class: serverdensity_agent::plugin::php_fpm
Defines PHP-FPM instances
Parameters
- status_url
-
String. Url to the PHP-FPM pool status page Default: localhost/status
- ping_url
-
String. Url to the PHP-FPM pool service to check FPM is alive and responding Default: localhost/ping
- ping_reply
-
String. The expected reply from a pool to the ping url Default: pong
Examples
class { ‘serverdensity_agent::plugin::php_fpm’:
status_url => 'http://localhost/status',
}
25 26 27 28 29 30 31 32 33 |
# File 'manifests/plugin/php_fpm.pp', line 25
class serverdensity_agent::plugin::php_fpm (
$status_url = 'http://localhost/status',
$ping_url = 'http://localhost/ping',
$ping_reply = 'pong',
) {
serverdensity_agent::plugin { 'php_fpm':
config_content => template('serverdensity_agent/plugin/php_fpm.yaml.erb'),
}
}
|