Page MenuHomeSoftware Heritage

config.pp
No OneTemporary

config.pp

# 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 => {
# {'Date/date.timezone' => 'Europe/Berlin'}
# }
# }
#
define php::config(
$file,
$config
) {
if $caller_module_name != $module_name {
warning('php::config is private')
}
validate_absolute_path($file)
validate_hash($config)
create_resources(::php::config::setting, to_hash_settings($config, $file), {
file => $file
})
}

File Metadata

Mime Type
text/plain
Expires
Jul 4 2025, 7:24 PM (7 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3275375

Event Timeline