Page MenuHomeSoftware Heritage

config.pp
No OneTemporary

config.pp

# == Class: php::config
#
# 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'}
# }
# }
#
# === Authors
#
# Robin Gloster <robin.gloster@mayflower.de>
#
# === Copyright
#
# See LICENSE file
#
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(config::setting, to_hash_settings($config, $file), {
file => $file
})
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:53 PM (12 w, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3369768

Event Timeline