New modules: memcache & memcached

This commit is contained in:
Bogdan Rădulescu 2014-01-17 13:02:32 +00:00
parent 663f72f9e5
commit 4114e9b09c
3 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,8 @@
'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd',
'mcrypt_pkg': 'php5-mcrypt',
'memcache_pkg': 'php5-memcache',
'memcached_pkg': 'php5-memcached',
'mysql_pkg': 'php5-mysql',
'pear_pkg': ' php-pear',
'fpm_service': 'php5-fpm',
@ -17,6 +19,8 @@
'fpm_pkg': 'php-fpm',
'gd_pkg': 'php-gd',
'mcrypt_pkg': 'php-mcrypt',
'memcache_pkg': 'php-pecl-memcache',
'memcached_pkg': 'php-pecl-memcached',
'mysql_pkg': 'php-mysql',
'pear_pkg': ' php-pear',
'fpm_service': 'php-fpm',

6
php/memcache.sls Normal file
View File

@ -0,0 +1,6 @@
{% from "php/map.jinja" import php with context %}
php-memcache:
pkg:
- installed
- name: {{ php.memcache_pkg }}

6
php/memcached.sls Normal file
View File

@ -0,0 +1,6 @@
{% from "php/map.jinja" import php with context %}
php-memcached:
pkg:
- installed
- name: {{ php.memcached_pkg }}