php-formula/docs/README.rst

809 lines
15 KiB
ReStructuredText
Raw Normal View History

.. _readme:
2013-07-30 00:37:17 +02:00
php-formula
===========
2013-07-30 00:37:17 +02:00
|img_travis| |img_sr|
2013-07-30 00:37:17 +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
.. list-table::
:name: banner-breaking-changes-v1.0.0
:header-rows: 1
:widths: 1
* - WARNING: BREAKING CHANGES IN UPCOMING ``v1.0.0``
* - This formula currently provides two methods for managing PHP; the old method
under ``php`` and the new method under ``php.ng``.
In upcoming `v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
the old method will be removed and ``php.ng`` will be promoted to ``php`` in its place.
If you are not in a position to migrate, you will need to pin your repo to
the final release tag before
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_,
which is expected to be
`v0.39.2 <https://github.com/saltstack-formulas/php-formula/releases/tag/v0.39.2>`_.
If you are currently using ``php.ng``, there is nothing to do until
`v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_
is released.
To migrate from the old ``php``, the first step is to convert to ``php.ng``,
before `v1.0.0 <https://github.com/saltstack-formulas/php-formula/releases/tag/v1.0.0>`_
is released.
.. 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
Available states
----------------
2013-07-30 00:37:17 +02:00
.. contents::
:local:
2013-07-30 00:37:17 +02:00
``php``
^^^^^^^
Installs the php package.
2018-11-02 01:43:04 +01:00
``php.adodb``
^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-adodb package.
``php.apc``
^^^^^^^^^^^
Installs the php-apc package.
Disabled by default on opensuse need server:php repo
2015-04-25 12:35:29 +02:00
``php.apcu``
^^^^^^^^^^^^
2015-04-25 12:35:29 +02:00
Installs the php-apcu package.
Disabled by default on opensuse need server:php repo
2018-11-02 01:43:04 +01:00
``php.bcmath``
^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-bcmath package.
2014-04-09 16:52:01 +02:00
``php.cgi``
^^^^^^^^^^^
Installs the php-cgi package.
Disabled on opensuse not available, only fastcgi
2014-04-09 16:52:01 +02:00
``php.cli``
^^^^^^^^^^^
2014-04-09 16:52:01 +02:00
2014-04-09 16:53:26 +02:00
Installs the php-cli package.
2015-02-20 11:12:19 +01:00
``php.composer``
^^^^^^^^^^^^^^^^
2015-02-20 11:12:19 +01:00
Installs [composer](https://getcomposer.org) and keeps it updated.
``php.curl``
^^^^^^^^^^^^
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.
2018-11-02 01:43:04 +01:00
``php.dev``
^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-dev package.
2019-01-15 09:19:57 +01:00
``php.fileinfo``
^^^^^^^^^^^^^^^^
2019-01-15 09:19:57 +01:00
Installs the php-fileinfo package and enables it.
``php.fpm``
^^^^^^^^^^^
Installs the php-fpm package, starts the service, and enables it.
``php.gd``
^^^^^^^^^^
Installs the php-gd package.
``php.imagick``
^^^^^^^^^^^^^^^
Installs the php-imagick package.
Disabled on opensuse not available.
``php.imap``
^^^^^^^^^^^^
Installs the php-imap package.
2018-11-02 01:43:04 +01:00
``php.intl``
^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-intl package.
``php.json``
^^^^^^^^^^^^
Installs the php-json package.
``php.ldap``
^^^^^^^^^^^^
Installs the php-ldap package.
2018-11-02 01:43:04 +01:00
``php.mail``
^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mail package.
``php.mbstring``
^^^^^^^^^^^^^^^^
Installs the php-mbstring package.
``php.mcrypt``
^^^^^^^^^^^^^^
Installs the php-mcrypt package.
``php.memcache``
^^^^^^^^^^^^^^^^
Installs the php-memcache package.
Disabled on opensuse need server:php:extensions repo
``php.memcached``
^^^^^^^^^^^^^^^^^
Installs the php-memcached package.
Disabled on opensuse need server:php:extensions repo
2018-11-02 01:43:04 +01:00
``php.mongo``
^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mongo package.
Disabled on opensuse need server:php:extensions repo
``php.mysql``
^^^^^^^^^^^^^
Installs the php-mysql package.
2014-04-09 16:43:58 +02:00
``php.mysqlnd``
^^^^^^^^^^^^^^^
2014-04-09 16:43:58 +02:00
Installs the php-mysqlnd package.
Disabled on opensuse no package.
2014-04-09 16:43:58 +02:00
2018-11-02 01:43:04 +01:00
``php.oauth``
^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-oauth package.
2018-11-02 01:43:04 +01:00
``php.pear``
^^^^^^^^^^^^
2014-12-17 10:53:35 +01:00
2018-11-02 01:43:04 +01:00
Installs the php-pear package.
2014-12-17 10:53:35 +01:00
``php.pgsql``
^^^^^^^^^^^^^
Installs the php-pgsql package.
2018-11-02 01:43:04 +01:00
``php.readline``
^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-readline package.
``php.redis``
^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-redis package.
Disabled on opensuse need server:php:extensions repo
``php.soap``
^^^^^^^^^^^^
Installs the php-soap package.
2015-03-06 15:42:00 +01:00
``php.sqlite``
^^^^^^^^^^^^^^
2015-03-06 15:42:00 +01:00
Installs the php-sqlite package,
``php.suhosin``
^^^^^^^^^^^^^^^
Installs the php-suhosin package.
2017-04-25 12:42:04 +02:00
``php.sybase``
^^^^^^^^^^^^^^
2017-04-25 12:42:04 +02:00
Installs the php-sybase package for Sybase/MS-SQL. Debian / Ubuntu as RedHat has no similar package.
2019-01-15 09:19:57 +01:00
``php.tokenizer``
^^^^^^^^^^^^^^^^^
2019-01-15 09:19:57 +01:00
Installs the php-tokenizer package and enables it.
``php.xml``
^^^^^^^^^^^
Installs the php-xml package.
2014-06-06 19:14:44 +02:00
2018-11-02 01:43:04 +01:00
``php.zip``
^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-zip package.
2014-06-06 19:14:44 +02:00
Next-generation, alternate approach
-----------------------------------
2014-06-06 19:14:44 +02:00
The following states provide an alternate approach to managing PHP and FPM
pools, as well as code organization. Please provide feedback by filing issues,
discussing in ``#salt`` in Freenode and the mailing list as normal.
**Note:** php.ng states require the merge parameter of salt.modules.pillar.get(),
first available in the Helium release.
.. contents::
:local:
``php.ng``
^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php package.
``php.ng.adodb``
^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-adodb package.
``php.ng.apache2``
^^^^^^^^^^^^^^^^^^
Meta-state that combines `php.ng.apache2.install`_ and `php.ng.apache2.ini`_.
``php.ng.apache2.ini``
^^^^^^^^^^^^^^^^^^^^^^
Manages the apache2 php.ini file
``php.ng.apache2.install``
^^^^^^^^^^^^^^^^^^^^^^^^^^
Installs the apache2 and libapache2-mod-php5 package. Debian Only.
2014-06-06 19:14:44 +02:00
``php.ng.apc``
^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-apc package.
Disabled on opensuse need server:php repo
2014-06-06 19:14:44 +02:00
2015-04-25 12:35:29 +02:00
``php.ng.apcu``
^^^^^^^^^^^^^^^
2015-04-25 12:35:29 +02:00
Installs the php-apcu package.
Disabled on opensuse need server:php repo
2018-11-02 01:43:04 +01:00
``php.ng.auth-sasl``
^^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-auth-sasl package.
``php.ng.bcmath``
^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-bcmath package.
``php.ng.bz2``
^^^^^^^^^^^^^^
Installs the php-bz2 package.
2018-11-02 01:43:04 +01:00
``php.ng.cache-lite``
^^^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-cache-lite package.
2014-06-06 19:14:44 +02:00
``php.ng.cgi``
^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-cgi package.
Disabled on opensuse only php5-fastcgi available.
2014-06-06 19:14:44 +02:00
``php.ng.cli``
^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Meta-state that combines `php.ng.cli.install`_ and `php.ng.cli.ini`_.
``php.ng.cli.ini``
^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Manages the php-cli ini file.
``php.ng.cli.install``
^^^^^^^^^^^^^^^^^^^^^^
Installs the php-cli package.
2018-03-15 15:00:02 +01:00
``php.ng.composer``
^^^^^^^^^^^^^^^^^^^
2018-03-15 15:00:02 +01:00
Installs [composer](https://getcomposer.org) and keeps it updated.
2018-11-02 01:43:04 +01:00
``php.ng.console-table``
^^^^^^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-console-table package.
``php.ng.ctype``
^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-ctype package.
2014-06-06 19:14:44 +02:00
``php.ng.curl``
^^^^^^^^^^^^^^^
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.
``php.ng.dba``
^^^^^^^^^^^^^^
Installs the php-dba package.
2018-11-02 01:43:04 +01:00
``php.ng.dev``
^^^^^^^^^^^^^^
2016-07-06 11:31:15 +02:00
2018-11-02 01:43:04 +01:00
Installs the php5-dev and build-essential package.
``php.ng.filter``
^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-filter package.
2016-07-06 11:31:15 +02:00
2014-06-06 19:14:44 +02:00
``php.ng.fpm``
^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Meta-state that combines all php.ng.fpm states.
``php.ng.fpm.config``
^^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Manages the (non-pool) php-fpm config files.
``php.ng.fpm.install``
^^^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-fpm package.
``php.ng.fpm.pools``
^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Meta-state that combines `php.ng.fpm.service`_ and `php.ng.fpm.pools_config`_
``php.ng.fpm.pools_config``
^^^^^^^^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Manages php-fpm pool config files.
``php.ng.fpm.service``
^^^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Manages the php-fpm service.
``php.ng.gd``
^^^^^^^^^^^^^
Installs the php-gd package.
2018-11-02 01:43:04 +01:00
``php.ng.gearman``
^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-gearman package.
``php.ng.geoip``
^^^^^^^^^^^^^^^^
Installs the php-geoip package.
2018-11-02 01:43:04 +01:00
``php.ng.geshi``
^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-geshi package.
``php.ng.gettext``
^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-gettext package.
``php.ng.gmp``
^^^^^^^^^^^^^^
Installs the php-gmp package. Debian Only.
2018-11-02 01:43:04 +01:00
``php.ng.hash``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-hash package.
``php.ng.http``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-http package.
``php.ng.hhvm``
^^^^^^^^^^^^^^^
Meta-state that combines php.ng.hhvm states
``php.ng.hhvm.config``
^^^^^^^^^^^^^^^^^^^^^^
Manages the php-hhvm config files
``php.ng.hhvm.install``
^^^^^^^^^^^^^^^^^^^^^^^
Installs the php-hhvm package
``php.ng.hhvm.repo``
^^^^^^^^^.REPO^^^^^^
Configures the hhvm repo for debian/ubuntu
``php.ng.hhvm.service``
^^^^^^^^^^^^^^^^^^^^^^^
Manages the php-hhvm service.
2019-03-20 16:46:59 +01:00
``php.ng.igbinary``
^^^^^^^^^^^^^^^^^^^
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-03-20 16:46:59 +01:00
``php.ng.imagick``
^^^^^^^^^^^^^^^^^^
2019-03-20 16:46:59 +01:00
Installs the php-imagick package.
Disabled on opensuse no package.
2014-06-06 19:14:44 +02:00
``php.ng.imap``
^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-imap package.
2014-08-11 03:51:16 +02:00
``php.ng.intl``
^^^^^^^^^^^^^^^
2014-08-11 03:51:16 +02:00
Installs the php-intl package.
2014-06-06 19:14:44 +02:00
``php.ng.json``
^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-json package.
``php.ng.ldap``
^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-ldap package.
2018-11-02 01:43:04 +01:00
``php.ng.mail``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mail package.
2014-06-06 19:14:44 +02:00
``php.ng.mbstring``
^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-mbstring package.
``php.ng.mcrypt``
^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-mcrypt package.
2018-11-02 01:43:04 +01:00
``php.ng.mdb2``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mdb2 package.
``php.ng.mdb2-driver-mysql``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mdb2-driver-mysql package.
``php.ng.mdb2-driver-pgsql``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-mdb2-driver-pgsql package.
2014-06-06 19:14:44 +02:00
``php.ng.memcache``
^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-memcache package.
Disabled on opensuse need server:php:extensions repo
2014-06-06 19:14:44 +02:00
``php.ng.memcached``
^^^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-memcached package.
Disabled on opensuse need server:php:extensions repo
``php.ng.modules``
^^^^^^^^^^^^^^^^^^
Calls ``php.ng.<name>`` for each entry in ``php:ng:modules`` if available, or
try to install the matching packages that can be set via from
``php:ng:lookup:pkgs``
``php.ng.mongo``
^^^^^^^^^^^^^^^^
Installs the php-mongo package.
``php.ng.mongodb``
^^^^^^^^^^^^^^^^^^
Installs the php-mongodb package.
``php.ng.msgpack``
^^^^^^^^^^^^^^^^^^
Installs the php-msgpack package.
2014-06-06 19:14:44 +02:00
``php.ng.mysql``
^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-mysql package.
``php.ng.mysqlnd``
^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-mysqlnd package.
Disabled on opensuse no package.
2014-06-06 19:14:44 +02:00
2018-11-02 01:43:04 +01:00
``php.ng.net-smtp``
^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-net-smtp package.
``php.ng.net4``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-net4 package.
``php.ng.net6``
^^^^^^^^^^^NET6
2018-11-02 01:43:04 +01:00
Installs the php-net6 package.
``php.ng.oauth``
^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-oauth package.
2014-06-06 19:14:44 +02:00
2018-11-02 01:43:04 +01:00
``php.ng.opcache``
^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-opcache package.
``php.ng.openssl``
^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-openssl package.
``php.ng.pear``
^^^^^^^^^^^^^^^
2014-12-17 10:53:35 +01:00
Installs the php-pear package.
2014-12-17 10:53:35 +01:00
2014-06-06 19:14:44 +02:00
``php.ng.pgsql``
^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-pgsql package.
2018-11-02 01:43:04 +01:00
``php.ng.phar``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-phar package.
``php.ng.posix``
^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-posix package.
``php.ng.pspell``
^^^^^^^^^^^^^^^^^
Installs the php-pspell package.
2018-11-02 01:43:04 +01:00
``php.ng.readline``
^^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-readline package.
``php.ng.redis``
^^^^^^^^^^^^^^^^
Installs the php-redis package.
Disabled on opensuse need server:php:extensions repo
2018-11-02 01:43:04 +01:00
``php.ng.seclib``
^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-seclib package.
``php.ng.session``
^^^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-session package.
2016-06-28 11:48:37 +02:00
``php.ng.snmp``
^^^^^^^^^^^^^^^
2016-06-28 11:48:37 +02:00
Installs the php-snmp package.
2014-06-06 19:14:44 +02:00
``php.ng.soap``
^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-soap package.
2015-03-06 15:42:00 +01:00
``php.ng.sqlite``
^^^^^^^^^^^^^^^^^
2015-03-06 15:42:00 +01:00
Installs the php-sqlite package,
2018-11-02 01:43:04 +01:00
``php.ng.ssh2``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-ssh2 package,
2014-06-06 19:14:44 +02:00
``php.ng.suhosin``
^^^^^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
Installs the php-suhosin package.
2018-11-02 01:43:04 +01:00
``php.ng.svn``
^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-svn package.
2017-04-25 12:42:04 +02:00
``php.ng.sybase``
^^^^^^^^^^^^^^^^^
2017-04-25 12:42:04 +02:00
Installs the php-sybase package.
2018-11-02 01:43:04 +01:00
``php.ng.tcpdf``
^^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-tcpdf package.
``php.ng.tidy``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-tidy package.
``php.ng.uuid``
^^^^^^^^^^^^^^^
2018-11-02 01:43:04 +01:00
Installs the php-uuid package.
2015-10-22 17:20:28 +02:00
``php.ng.xcache``
^^^^^^^^^^^^^^^^^
2015-10-22 17:20:28 +02:00
2015-10-23 23:35:05 +02:00
Meta-state that combines `php.ng.xcache.install`_ and `php.ng.xcache.ini`_.
``php.ng.xcache.ini``
^^^^^^^^^^^^^^^^^^^^^
2015-10-23 23:35:05 +02:00
Manages the php-xcache ini file
``php.ng.xcache.install``
^^^^^^^^^^^^^^^^^^^^^^^^^
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
``php.ng.xdebug``
^^^^^^^^^^^^^^^^^
Installs the php-xdebug package.
2014-06-06 19:14:44 +02:00
``php.ng.xml``
^^^^^^^^^^^^^^
2014-06-06 19:14:44 +02:00
2014-07-29 01:18:08 +02:00
Installs the php-xml package.
``php.ng.xsl``
^^^^^^^^^^^^^^
Installs the php-xsl package.
2016-07-13 09:59:30 +02:00
2018-11-02 01:43:04 +01:00
``php.ng.zip``
^^^^^^^^^^^^^^
2018-03-15 23:56:36 +01:00
2018-11-02 01:43:04 +01:00
Installs the php-zip package.
Testing
-------
Linux testing is done with ``kitchen-salt``.
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``.
``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.