Merge branch 'features/redis'

Conflicts:
	php/map.jinja
	php/ng/map.jinja
This commit is contained in:
Chin Kiong, Ng 2014-12-17 17:39:30 +08:00
commit bec65b8875
4 changed files with 11 additions and 0 deletions

View File

@ -17,6 +17,7 @@
'mysqlnd_pkg': 'php5-mysqlnd',
'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap',
'redis_pkg': 'php5-redis',
'fpm_service': 'php5-fpm',
'xml_pkg': 'php5-xml',
'imagick_pkg': 'php5-imagick',
@ -49,6 +50,7 @@
'mysqlnd_pkg': 'php-mysqlnd',
'pear_pkg': 'php-pear',
'soap_pkg': 'php-soap',
'redis_pkg': 'php-redis',
'fpm_service': 'php-fpm',
'xml_pkg': 'php-xml',
'imagick_pkg': 'php-pecl-imagick',

View File

@ -19,6 +19,7 @@
'pear': 'php-pear',
'soap': 'php-soap',
'xml': 'php5-xmlrpc',
'redis': 'php5-redis',
'imagick': 'php5-imagick',
'suhosin': 'php5-suhosin',
'imap': 'php5-imap',
@ -63,6 +64,7 @@
'pear': 'php-pear',
'soap': 'php-soap',
'xml': 'php-xml',
'redis': 'php-redis',
'imagick': 'php-imagick',
'suhosin': 'php-suhosin',
'imap': 'php-imap',

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 }}