Puppet Function: mediawiki::fcgi_endpoint
- Defined in:
- modules/mediawiki/functions/fcgi_endpoint.pp
- Function type:
- Puppet Language
Overview
This function allows puppet code to compute the fcgi endpoint address from the port and pool names.
3 4 5 6 7 8 9 |
# File 'modules/mediawiki/functions/fcgi_endpoint.pp', line 3
function mediawiki::fcgi_endpoint(Optional[Stdlib::Port::User] $port, String $pool) >> String {
$port ? {
undef => "unix:/run/php/fpm-${pool}.sock|fcgi://${pool}",
default => "fcgi://127.0.0.1:${port}"
}
}
|