Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9697162
module.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
618 B
Subscribers
None
module.pp
View Options
# Define: php::module
#
# Manage optional PHP modules which are separately packaged.
# See also php::module:ini for optional configuration.
#
# Sample Usage :
# php::module { [ 'ldap', 'mcrypt', 'xml' ]: }
# php::module { 'odbc': ensure => absent }
# php::module { 'pecl-apc': }
#
define
php
::
module
(
$ensure
=
installed
)
{
require
php
::
params
# Manage the incorrect named php-apc package under Debians
if
(
$title
==
'apc'
)
{
$package
=
$php::params::php_apc_package_name
}
else
{
$package
=
"${php::params::php_package_name}-${title}"
}
package
{
$package:
ensure
=>
$ensure,
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 18, 10:59 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3287979
Attached To
rSPPHP puppet-thias-php
Event Timeline
Log In to Comment