Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8395771
imagick.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
imagick.pp
View Options
# == Class: php::extension::imagick
#
# Install and configure the imagick PHP extension
#
# === Parameters
#
# [*ensure*]
# The ensure of imagick to install
# Could be "latest", "installed" or a pinned verison
#
# [*package*]
# The package name for imagick
# For debian it's php5-imagick
#
# [*provider*]
# The provider used to install php5-imagick
# Could be "pecl", "apt" or any other OS package provider
#
# [*config_file*]
# The path to the ini php5-imagick ini file
#
# [*config_changes*]
# Hash with 'set' nested hash of key => value
# set changes to agues when applied to *config_file*
#
# === Variables
#
# [*php_ensure*]
# The ensure of imagick to install
#
# === Examples
#
# include php::extension::imagick
#
# === Authors
#
# Christian Winther <cw@nodes.dk>
#
# === Copyright
#
# Copyright 2012-2013 Nodes, unless otherwise noted.
#
class
php
::
extension
::
imagick
(
$ensure
=
$php::extension::imagick::params::ensure,
$package
=
$php::extension::imagick::params::package,
$provider
=
$php::extension::imagick::params::provider,
$config_file
=
$php::extension::imagick::params::config_file,
$config_changes
=
$php::extension::imagick::params::config_changes
)
inherits
php
::
extension
::
imagick
::
params
{
php
::
extension
{
'imagick'
:
ensure
=>
$ensure,
package
=>
$package,
provider
=>
$provider
}
php
::
config
{
'php-extension-imagick'
:
config_file
=>
$config_file,
config_changes
=>
$config_changes
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:44 PM (11 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399349
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment