salt.modules.pecl
Manage PHP pecl extensions.
-
salt.modules.pecl.install(pecls, defaults=False, force=False)
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
Note
The defaults option will be available in version 0.17.0.
CLI Example:
salt '*' pecl.install fuse
-
salt.modules.pecl.list_()
List installed pecl extensions.
CLI Example:
-
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