Add sqlite support

This commit is contained in:
jeroen92 2015-03-06 15:42:00 +01:00
parent 6eabe99dfb
commit 8194cba6aa
5 changed files with 21 additions and 0 deletions

View File

@ -134,6 +134,11 @@ Installs the php-pgsql package.
Installs the php-soap package. Installs the php-soap package.
``php.sqlite``
--------------
Installs the php-sqlite package,
``php.suhosin`` ``php.suhosin``
--------------- ---------------
@ -320,6 +325,11 @@ Installs the php-pgsql package.
Installs the php-soap package. Installs the php-soap package.
``php.ng.sqlite``
-----------------
Installs the php-sqlite package,
``php.ng.suhosin`` ``php.ng.suhosin``
------------------ ------------------

View File

@ -17,6 +17,7 @@
'mysqlnd_pkg': 'php5-mysqlnd', 'mysqlnd_pkg': 'php5-mysqlnd',
'pear_pkg': 'php-pear', 'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap', 'soap_pkg': 'php-soap',
'sqlite_pkg': 'php-sqlite',
'redis_pkg': 'php5-redis', 'redis_pkg': 'php5-redis',
'fpm_service': 'php5-fpm', 'fpm_service': 'php5-fpm',
'xml_pkg': 'php5-xml', 'xml_pkg': 'php5-xml',
@ -50,6 +51,7 @@
'mysqlnd_pkg': 'php-mysqlnd', 'mysqlnd_pkg': 'php-mysqlnd',
'pear_pkg': 'php-pear', 'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap', 'soap_pkg': 'php-soap',
'sqlite_pkg': 'php-sqlite',
'redis_pkg': 'php-redis', 'redis_pkg': 'php-redis',
'fpm_service': 'php-fpm', 'fpm_service': 'php-fpm',
'xml_pkg': 'php-xml', 'xml_pkg': 'php-xml',

View File

@ -19,6 +19,7 @@
'mysqlnd': 'php5-mysqlnd', 'mysqlnd': 'php5-mysqlnd',
'pear': 'php-pear', 'pear': 'php-pear',
'soap': 'php-soap', 'soap': 'php-soap',
'sqlite': 'php-sqlite',
'xml': 'php5-xmlrpc', 'xml': 'php5-xmlrpc',
'redis': 'php5-redis', 'redis': 'php5-redis',
'imagick': 'php5-imagick', 'imagick': 'php5-imagick',
@ -67,6 +68,7 @@
'mysqlnd': 'php-mysqlnd', 'mysqlnd': 'php-mysqlnd',
'pear': 'php-pear', 'pear': 'php-pear',
'soap': 'php-soap', 'soap': 'php-soap',
'sqlite': 'php-sqlite',
'xml': 'php-xml', 'xml': 'php-xml',
'redis': 'php-redis', 'redis': 'php-redis',
'imagick': 'php-imagick', 'imagick': 'php-imagick',

2
php/ng/sqlite.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'sqlite' %}
{% include "php/ng/installed.jinja" %}

5
php/sqlite.sls Normal file
View File

@ -0,0 +1,5 @@
{% from "php/map.jinja" import php with context %}
php-sqlite:
pkg.installed:
- name: {{ php.sqlite_pkg }}