Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9349124
config.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
682 B
Subscribers
None
config.pp
View Options
# == Class: php::config
#
# Configure php.ini settings for a PHP SAPI
#
# === Parameters
#
# [*key*]
# The php.ini settings key
#
# [*value*]
# The php.ini setting value
#
# [*sapi*]
# The PHP sapi (cli or apache2)
#
# === Variables
#
# No variables
#
# === Examples
#
# php::config { "sample": key => 'PHP/short_open_tag', value => 'Off', 'sapi' => 'cli'; }
#
# === Authors
#
# Christian Winther <cw@nodes.dk>
#
# === Copyright
#
# Copyright 2012-2013 Nodes, unless otherwise noted.
#
define
php
::
config
(
$config_file,
$config_changes
)
{
augeas
{
"php-${name}-config"
:
context
=>
"/files${config_file}"
,
changes
=>
template
(
'php/augeas_commands.erb'
)
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 4 2025, 7:06 PM (6 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3451813
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment