2019-06-26 01:34:51 +02:00
|
|
|
.. _readme:
|
2013-07-30 00:37:17 +02:00
|
|
|
|
2019-06-26 01:34:51 +02:00
|
|
|
php-formula
|
|
|
|
===========
|
2013-07-30 00:37:17 +02:00
|
|
|
|
2019-06-26 01:34:51 +02:00
|
|
|
|img_travis| |img_sr|
|
2013-07-30 00:37:17 +02:00
|
|
|
|
2019-06-26 01:34:51 +02:00
|
|
|
.. |img_travis| image:: https://travis-ci.com/saltstack-formulas/php-formula.svg?branch=master
|
|
|
|
:alt: Travis CI Build Status
|
|
|
|
:scale: 100%
|
|
|
|
:target: https://travis-ci.com/saltstack-formulas/php-formula
|
|
|
|
.. |img_sr| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
|
|
|
|
:alt: Semantic Release
|
|
|
|
:scale: 100%
|
|
|
|
:target: https://github.com/semantic-release/semantic-release
|
|
|
|
|
|
|
|
Formula to set up and configure php
|
|
|
|
|
2019-07-31 02:51:23 +02:00
|
|
|
.. list-table::
|
|
|
|
:name: banner-breaking-changes-v1.0.0
|
|
|
|
:header-rows: 1
|
|
|
|
:widths: 1
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
* - WARNING: BREAKING CHANGES SINCE ``v1.0.0``
|
|
|
|
* - Prior to
|
2019-07-31 02:51:23 +02:00
|
|
|
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
|
2019-08-07 17:01:55 +02:00
|
|
|
this formula provided two methods for managing PHP;
|
|
|
|
the old method under ``php`` and the new method under ``php.ng``.
|
|
|
|
The old method has now been removed and ``php.ng`` has been promoted to
|
|
|
|
be ``php`` in its place.
|
|
|
|
|
|
|
|
If you are not in a position to migrate, please pin your repo to the final
|
|
|
|
release tag before
|
|
|
|
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
|
|
|
|
i.e.
|
2019-08-26 18:07:34 +02:00
|
|
|
`v0.40.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.40.1>`_.
|
2019-07-31 02:51:23 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
To migrate from ``php.ng``, simply modify your pillar to promote the
|
|
|
|
entire section under ``php:ng`` so that it is under ``php`` instead.
|
|
|
|
So with the editor of your choice, highlight the entire section and then
|
|
|
|
unindent one level. Finish by removing the ``ng:`` line.
|
2019-07-31 02:51:23 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
To migrate from the old ``php``, first convert to ``php.ng`` under
|
2019-08-26 18:07:34 +02:00
|
|
|
`v0.40.1 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.40.1>`_.
|
2019-08-07 17:01:55 +02:00
|
|
|
and then follow the steps laid out in the paragraph directly above.
|
2019-07-31 02:51:23 +02:00
|
|
|
|
2019-06-26 01:34:51 +02:00
|
|
|
.. contents:: **Table of Contents**
|
|
|
|
|
|
|
|
General notes
|
|
|
|
-------------
|
|
|
|
|
|
|
|
See the full `SaltStack Formulas installation and usage instructions
|
|
|
|
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
|
|
|
|
|
|
|
|
If you are interested in writing or contributing to formulas, please pay attention to the `Writing Formula Section
|
|
|
|
<https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#writing-formulas>`_.
|
|
|
|
|
|
|
|
If you want to use this formula, please pay attention to the ``FORMULA`` file and/or ``git tag``,
|
|
|
|
which contains the currently released version. This formula is versioned according to `Semantic Versioning <http://semver.org/>`_.
|
|
|
|
|
|
|
|
See `Formula Versioning Section <https://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#versioning>`_ for more details.
|
|
|
|
|
|
|
|
Contributing to this repo
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
**Commit message formatting is significant!!**
|
|
|
|
|
|
|
|
Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
|
2013-07-30 00:37:17 +02:00
|
|
|
|
2014-01-03 07:10:51 +01:00
|
|
|
Available states
|
2019-06-26 01:34:51 +02:00
|
|
|
----------------
|
2013-07-30 00:37:17 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Please provide feedback by filing issues,
|
2014-06-06 19:14:44 +02:00
|
|
|
discussing in ``#salt`` in Freenode and the mailing list as normal.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
**Note:** php states require the merge parameter of salt.modules.pillar.get(),
|
2014-06-06 19:14:44 +02:00
|
|
|
first available in the Helium release.
|
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.adodb``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-adodb package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.apache2``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines `php.apache2.install`_ and `php.apache2.ini`_.
|
2015-10-22 18:44:42 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.apache2.ini``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Manages the apache2 php.ini file
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.apache2.install``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the apache2 and libapache2-mod-php5 package. Debian Only.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.apc``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-apc package.
|
2015-03-09 22:22:48 +01:00
|
|
|
Disabled on opensuse need server:php repo
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.apcu``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2015-04-25 12:35:29 +02:00
|
|
|
|
|
|
|
Installs the php-apcu package.
|
|
|
|
Disabled on opensuse need server:php repo
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.auth-sasl``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-auth-sasl package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.bcmath``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-bcmath package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.bz2``
|
2019-05-17 09:19:50 +02:00
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Installs the php-bz2 package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.cache-lite``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-cache-lite package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.cgi``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-cgi package.
|
2015-03-09 22:22:48 +01:00
|
|
|
Disabled on opensuse only php5-fastcgi available.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.cli``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines `php.cli.install`_ and `php.cli.ini`_.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.cli.ini``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Manages the php-cli ini file.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.cli.install``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-cli package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.composer``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2018-03-15 15:00:02 +01:00
|
|
|
|
|
|
|
Installs [composer](https://getcomposer.org) and keeps it updated.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.console-table``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-console-table package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.ctype``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-ctype package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.curl``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php5-curl package on Debian, and ensures that curl itself is
|
|
|
|
installed for RedHat systems, this is due to the curl libs being provided by
|
|
|
|
php-common, which will get installed with the main php package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.dba``
|
2019-05-17 09:19:50 +02:00
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Installs the php-dba package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.dev``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2016-07-06 11:31:15 +02:00
|
|
|
|
2018-11-02 01:43:04 +01:00
|
|
|
Installs the php5-dev and build-essential package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.filter``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-filter package.
|
2016-07-06 11:31:15 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines all php.fpm states.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm.config``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Manages the (non-pool) php-fpm config files.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm.install``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-fpm package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm.pools``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines `php.fpm.service`_ and `php.fpm.pools_config`_
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm.pools_config``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Manages php-fpm pool config files.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.fpm.service``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Manages the php-fpm service.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.gd``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-gd package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.gearman``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-gearman package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.geoip``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-geoip package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.geshi``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-geshi package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.gettext``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-gettext package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.gmp``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-gmp package. Debian Only.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hash``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-hash package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.http``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-http package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hhvm``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2015-07-25 22:15:28 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines php.hhvm states
|
2015-07-25 22:15:28 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hhvm.config``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2015-07-25 22:15:28 +02:00
|
|
|
|
|
|
|
Manages the php-hhvm config files
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hhvm.install``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
2015-07-25 22:15:28 +02:00
|
|
|
|
|
|
|
Installs the php-hhvm package
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hhvm.repo``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^.REPO^^^^^^
|
2015-07-25 22:15:28 +02:00
|
|
|
|
|
|
|
Configures the hhvm repo for debian/ubuntu
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.hhvm.service``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
2015-07-25 22:15:28 +02:00
|
|
|
|
|
|
|
Manages the php-hhvm service.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.igbinary``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-03-20 16:46:59 +01:00
|
|
|
Installs the php-igbinary package.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.imagick``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2019-03-20 16:45:33 +01:00
|
|
|
|
2019-03-20 16:46:59 +01:00
|
|
|
Installs the php-imagick package.
|
|
|
|
Disabled on opensuse no package.
|
2019-03-20 16:45:33 +01:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.imap``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-imap package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.intl``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-08-11 03:51:16 +02:00
|
|
|
|
|
|
|
Installs the php-intl package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.json``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-json package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.ldap``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-ldap package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mail``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-mail package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mbstring``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-mbstring package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mcrypt``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-mcrypt package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mdb2``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-mdb2 package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mdb2-driver-mysql``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-mdb2-driver-mysql package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mdb2-driver-pgsql``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-mdb2-driver-pgsql package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.memcache``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-memcache package.
|
2015-03-09 22:22:48 +01:00
|
|
|
Disabled on opensuse need server:php:extensions repo
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.memcached``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-memcached package.
|
2015-03-09 22:22:48 +01:00
|
|
|
Disabled on opensuse need server:php:extensions repo
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.modules``
|
2019-05-17 09:19:50 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Calls ``php.<name>`` for each entry in ``php:modules`` if available, or
|
2019-05-17 09:19:50 +02:00
|
|
|
try to install the matching packages that can be set via from
|
2019-08-07 17:01:55 +02:00
|
|
|
``php:lookup:pkgs``
|
2019-05-17 09:19:50 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mongo``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2016-12-07 22:10:19 +01:00
|
|
|
|
|
|
|
Installs the php-mongo package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mongodb``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2016-12-07 22:10:19 +01:00
|
|
|
|
|
|
|
Installs the php-mongodb package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.msgpack``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2019-03-20 16:45:33 +01:00
|
|
|
|
|
|
|
Installs the php-msgpack package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mysql``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-mysql package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.mysqlnd``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-mysqlnd package.
|
2015-03-09 22:22:48 +01:00
|
|
|
Disabled on opensuse no package.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.net-smtp``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-net-smtp package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.net4``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-net4 package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.net6``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^NET6
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-net6 package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.oauth``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2015-10-22 18:44:42 +02:00
|
|
|
Installs the php-oauth package.
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.opcache``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-opcache package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.openssl``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-openssl package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.pear``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-12-17 10:53:35 +01:00
|
|
|
|
2015-10-22 18:44:42 +02:00
|
|
|
Installs the php-pear package.
|
2014-12-17 10:53:35 +01:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.pgsql``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-pgsql package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.phar``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-phar package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.posix``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-posix package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.pspell``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-pspell package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.readline``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-readline package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.redis``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-redis package.
|
|
|
|
Disabled on opensuse need server:php:extensions repo
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.seclib``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-seclib package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.session``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-session package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.snmp``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2016-06-28 11:48:37 +02:00
|
|
|
|
|
|
|
Installs the php-snmp package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.soap``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-soap package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.sqlite``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2015-03-06 15:42:00 +01:00
|
|
|
|
|
|
|
Installs the php-sqlite package,
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.ssh2``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-ssh2 package,
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.suhosin``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
|
|
|
Installs the php-suhosin package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.svn``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-svn package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.sybase``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2017-04-25 12:42:04 +02:00
|
|
|
|
|
|
|
Installs the php-sybase package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.tcpdf``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-tcpdf package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.tidy``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-tidy package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.uuid``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^
|
2018-11-02 01:43:04 +01:00
|
|
|
|
|
|
|
Installs the php-uuid package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xcache``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2015-10-22 17:20:28 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
Meta-state that combines `php.xcache.install`_ and `php.xcache.ini`_.
|
2015-10-23 23:35:05 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xcache.ini``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
2015-10-23 23:35:05 +02:00
|
|
|
|
|
|
|
Manages the php-xcache ini file
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xcache.install``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
2015-10-23 23:35:05 +02:00
|
|
|
|
2015-10-22 17:20:28 +02:00
|
|
|
Installs the php-xcache package.
|
|
|
|
Disabled on opensuse need server:php:extensions repo
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xdebug``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-xdebug package.
|
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xml``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2014-06-06 19:14:44 +02:00
|
|
|
|
2014-07-29 01:18:08 +02:00
|
|
|
Installs the php-xml package.
|
2015-10-22 18:44:42 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.xsl``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2015-10-22 18:44:42 +02:00
|
|
|
|
|
|
|
Installs the php-xsl package.
|
2016-07-13 09:59:30 +02:00
|
|
|
|
2019-08-07 17:01:55 +02:00
|
|
|
``php.zip``
|
2019-06-26 01:34:51 +02:00
|
|
|
^^^^^^^^^^^^^^
|
2018-03-15 23:56:36 +01:00
|
|
|
|
2018-11-02 01:43:04 +01:00
|
|
|
Installs the php-zip package.
|
2019-06-26 01:34:51 +02:00
|
|
|
|
|
|
|
Testing
|
|
|
|
-------
|
|
|
|
|
|
|
|
Linux testing is done with ``kitchen-salt``.
|
|
|
|
|
2019-06-27 02:57:50 +02:00
|
|
|
Requirements
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
|
|
|
* Ruby
|
|
|
|
* Docker
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
$ gem install bundler
|
|
|
|
$ bundle install
|
|
|
|
$ bin/kitchen test [platform]
|
|
|
|
|
|
|
|
Where ``[platform]`` is the platform name defined in ``kitchen.yml``,
|
|
|
|
e.g. ``debian-9-2019-2-py3``.
|
|
|
|
|
2019-06-26 01:34:51 +02:00
|
|
|
``bin/kitchen converge``
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Creates the docker instance and runs the ``template`` main state, ready for testing.
|
|
|
|
|
|
|
|
``bin/kitchen verify``
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Runs the ``inspec`` tests on the actual instance.
|
|
|
|
|
|
|
|
``bin/kitchen destroy``
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Removes the docker instance.
|
|
|
|
|
|
|
|
``bin/kitchen test``
|
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.
|
|
|
|
|
|
|
|
``bin/kitchen login``
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Gives you SSH access to the instance for manual testing.
|