Defined Type: php::config
- Defined in:
- manifests/config.pp
Overview
Configure php.ini settings for a PHP SAPI
=== Parameters
[file] The path to ini file
[config] Nested hash of key => value to apply to php.ini
=== Examples
php::config { '$unique-name': file => '$full_path_to_ini_file' config => { => 'Europe/Berlin' } }
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/config.pp', line 20
define php::config(
Stdlib::Absolutepath $file,
Hash $config
) {
if $caller_module_name != $module_name {
warning('php::config is private')
}
create_resources(::php::config::setting, to_hash_settings($config, $file), {
file => $file
})
}
|