Added PHP Redis module

This commit is contained in:
Chin Kiong, Ng 2014-12-17 17:36:53 +08:00
parent 766f092204
commit 0c66177ed0
4 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,7 @@
'memcached_pkg': 'php5-memcached',
'mysql_pkg': 'php5-mysql',
'mysqlnd_pkg': 'php5-mysqlnd',
'redis_pkg': 'php5-redis',
'pear_pkg': ' php-pear',
'soap_pkg': ' php-soap',
'fpm_service': 'php5-fpm',
@ -48,6 +49,7 @@
'mysql_pkg': 'php-mysql',
'mysqlnd_pkg': 'php-mysqlnd',
'pear_pkg': ' php-pear',
'redis_pkg': 'php-redis',
'soap_pkg': ' php-soap',
'fpm_service': 'php-fpm',
'xml_pkg': ' php-xml',

View File

@ -17,6 +17,7 @@
'mysql': 'php5-mysql',
'mysqlnd': 'php5-mysqlnd',
'pear': ' php-pear',
'redis': 'php5-redis',
'soap': ' php-soap',
'xml': ' php5-xml',
'imagick': 'php5-imagick',
@ -61,6 +62,7 @@
'mysql': 'php-mysql',
'mysqlnd': 'php-mysqlnd',
'pear': ' php-pear',
'redis': 'php-redis',
'soap': ' php-soap',
'xml': ' php-xml',
'imagick': 'php-imagick',

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

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

5
php/redis.sls Normal file
View File

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