Merge pull request #5 from bogdanr/master

New modules: memcache & memcached
This commit is contained in:
Joseph Hall 2014-01-17 05:13:50 -08:00
commit 2b3f7d0db3
3 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,8 @@
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd', 'gd_pkg': 'php5-gd',
'mcrypt_pkg': 'php5-mcrypt', 'mcrypt_pkg': 'php5-mcrypt',
'memcache_pkg': 'php5-memcache',
'memcached_pkg': 'php5-memcached',
'mysql_pkg': 'php5-mysql', 'mysql_pkg': 'php5-mysql',
'pear_pkg': ' php-pear', 'pear_pkg': ' php-pear',
'fpm_service': 'php5-fpm', 'fpm_service': 'php5-fpm',
@ -17,6 +19,8 @@
'fpm_pkg': 'php-fpm', 'fpm_pkg': 'php-fpm',
'gd_pkg': 'php-gd', 'gd_pkg': 'php-gd',
'mcrypt_pkg': 'php-mcrypt', 'mcrypt_pkg': 'php-mcrypt',
'memcache_pkg': 'php-pecl-memcache',
'memcached_pkg': 'php-pecl-memcached',
'mysql_pkg': 'php-mysql', 'mysql_pkg': 'php-mysql',
'pear_pkg': ' php-pear', 'pear_pkg': ' php-pear',
'fpm_service': 'php-fpm', '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 }}