From 4114e9b09cc9d3d0a387a284319b2da120be7598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan=20R=C4=83dulescu?= Date: Fri, 17 Jan 2014 13:02:32 +0000 Subject: [PATCH] New modules: memcache & memcached --- php/map.jinja | 4 ++++ php/memcache.sls | 6 ++++++ php/memcached.sls | 6 ++++++ 3 files changed, 16 insertions(+) create mode 100644 php/memcache.sls create mode 100644 php/memcached.sls diff --git a/php/map.jinja b/php/map.jinja index c2ddfe3..cf81f5a 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -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', diff --git a/php/memcache.sls b/php/memcache.sls new file mode 100644 index 0000000..a6b03c6 --- /dev/null +++ b/php/memcache.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-memcache: + pkg: + - installed + - name: {{ php.memcache_pkg }} diff --git a/php/memcached.sls b/php/memcached.sls new file mode 100644 index 0000000..bb1ac38 --- /dev/null +++ b/php/memcached.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-memcached: + pkg: + - installed + - name: {{ php.memcached_pkg }}