14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# File 'manifests/global.pp', line 14
class php::global(
$inifile = $::php::params::config_root_inifile,
$settings = {}
) inherits ::php::params {
if $caller_module_name != $module_name {
warning('php::global is private')
}
validate_absolute_path($inifile)
validate_hash($settings)
# No deep merging required since the settings we have are the global settings.
$real_settings = $settings
::php::config { 'global':
file => $inifile,
config => $real_settings,
}
}
|