Puppet Defined Type: extension

Defined in:
manifests/extension.pp

Overview

Install a PHP extension package

Parameters

ensure

The ensure of the package to install Could be “latest”, “installed” or a pinned version

package_prefix

Prefix to prepend to the package name for the package provider

provider

The provider used to install the package Could be “pecl”, “apt”, “dpkg” or any other OS package provider If set to “none”, no package will be installed

source

The source to install the extension from. Possible values depend on the provider used

pecl_source

The pecl source channel to install pecl package from Superseded by source

so_name

The DSO name of the package (e.g. opcache for zendopcache)

php_api_version

This parameter is used to build the full path to the extension directory for zend_extension in PHP < 5.5 (e.g. 20100525)

header_packages

System packages dependencies to install for extensions (e.g. for memcached libmemcached-dev on Debian)

compiler_packages

System packages dependencies to install for compiling extensions (e.g. build-essential on Debian)

zend

Boolean parameter, whether to load extension as zend_extension. This can only be set for pecl modules. Defaults to false.

settings

Nested hash of global config parameters for php.ini

settings_prefix

Boolean/String parameter, whether to prefix all setting keys with the extension name or specified name. Defaults to false.

sapi

String parameter, whether to specify ALL sapi or a specific sapi. Defaults to ALL.

Parameter Summary

  • ensure (Any) => 'installed'
  • provider (Any) => undef
  • source (Any) => undef
  • pecl_source (Any) => undef
  • so_name (Any) => $name
  • php_api_version (Any) => undef
  • package_prefix (Any) => $::php::package_prefix
  • header_packages (Any) => []
  • compiler_packages (Any) => $::php::params::compiler_packages
  • zend (Any) => false
  • settings (Any) => {}
  • settings_prefix (Any) => false
  • sapi (Any) => 'ALL'