salt.modules.pecl

Manage PHP pecl extensions.

salt.modules.pecl.install(pecls, defaults=False, force=False, preferred_state='stable')

New in version 0.17.0.

Installs one or several pecl extensions.

pecls
The pecl extensions to install.
defaults
Use default answers for extensions such as pecl_http which ask questions before installation. Without this option, the pecl.installed state will hang indefinitely when trying to install these extensions.
force
Whether to force the installed version or not

CLI Example:

salt '*' pecl.install fuse
salt.modules.pecl.list(channel=None)

List installed pecl extensions.

CLI Example:

salt '*' pecl.list
salt.modules.pecl.uninstall(pecls)

Uninstall one or several pecl extensions.

pecls
The pecl extensions to uninstall.

CLI Example:

salt '*' pecl.uninstall fuse
salt.modules.pecl.update(pecls)

Update one or several pecl extensions.

pecls
The pecl extensions to update.

CLI Example:

salt '*' pecl.update fuse