Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392044
global.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
750 B
Subscribers
None
global.pp
View Options
# Install and configure mod_php for fpm
#
# === Parameters
#
# [*inifile*]
# Absolute path to the global php.ini file. Defaults
# to the OS specific default location as defined in params.
# [*settings*]
# Hash of settings to apply to the global php.ini file.
# Defaults to OS specific defaults (i.e. add nothing)
#
#
class
php
::
global
(
Stdlib
::
Absolutepath
$inifile
=
$::php::config_root_inifile,
Hash
$settings
=
{}
)
inherits
::
php
{
if
$caller_module_name
!=
$module_name
{
warning
(
'php::global is private'
)
}
# No deep merging required since the settings we have are the global settings.
$real_settings
=
$settings
::
php
::
config
{
'global'
:
file
=>
$inifile,
config
=>
$real_settings,
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 6:53 PM (12 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3315367
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment