From 4cfc5ba013d9a7d01edb952e58208e7af559d22e Mon Sep 17 00:00:00 2001 From: "a.genus" Date: Wed, 6 Jul 2016 12:31:15 +0300 Subject: [PATCH] Add php-gearman support --- README.rst | 5 +++++ php/ng/gearman.sls | 2 ++ php/ng/map.jinja | 1 + 3 files changed, 8 insertions(+) create mode 100644 php/ng/gearman.sls diff --git a/README.rst b/README.rst index 1f888ad..c1602de 100644 --- a/README.rst +++ b/README.rst @@ -249,6 +249,11 @@ Installs the php5-curl package on Debian, and ensures that curl itself is installed for RedHat systems, this is due to the curl libs being provided by php-common, which will get installed with the main php package. +``php.ng.gearman`` +--------------- + +Installs the php-gearman package. + ``php.ng.fpm`` -------------- diff --git a/php/ng/gearman.sls b/php/ng/gearman.sls new file mode 100644 index 0000000..1598d8c --- /dev/null +++ b/php/ng/gearman.sls @@ -0,0 +1,2 @@ +{% set state = 'gearman' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/map.jinja b/php/ng/map.jinja index 2dece7b..bf9be74 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -297,6 +297,7 @@ 'oauth': 'php5-oauth', 'apache2': 'libapache2-mod-php5', 'curl': 'php5-curl', + 'gearman': 'php5-gearman', 'fpm': 'php5-fpm', 'hhvm': 'hhvm', 'gd': 'php5-gd',