Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9349457
config.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
637 B
Subscribers
None
config.pp
View Options
# 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
Details
Attached
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
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment