Merge pull request #33 from jeroen92/master

Sqlite support
This commit is contained in:
Niels Abspoel 2015-03-06 20:44:51 +01:00
commit 22ac3fdbe4
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.
``php.sqlite``
--------------
Installs the php-sqlite package,
``php.suhosin``
---------------
@ -320,6 +325,11 @@ Installs the php-pgsql package.
Installs the php-soap package.
``php.ng.sqlite``
-----------------
Installs the php-sqlite package,
``php.ng.suhosin``
------------------

View File

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

View File

@ -19,6 +19,7 @@
'mysqlnd': 'php5-mysqlnd',
'pear': 'php-pear',
'soap': 'php-soap',
'sqlite': 'php5-sqlite',
'xml': 'php5-xmlrpc',
'redis': 'php5-redis',
'imagick': 'php5-imagick',
@ -67,6 +68,7 @@
'mysqlnd': 'php-mysqlnd',
'pear': 'php-pear',
'soap': 'php-soap',
'sqlite': 'php5-sqlite',
'xml': 'php-xml',
'redis': 'php-redis',
'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 }}