Merge pull request #11 from giannello/master

Fix #9 - Add explicit installation for php-cgi
This commit is contained in:
Seth House 2014-04-09 18:41:49 -06:00
commit d34aab670c
3 changed files with 13 additions and 0 deletions

View File

@ -30,6 +30,11 @@ Installs the php-apc package.
Installs the php-adodb package.
``php.cgi``
------------
Installs the php-cgi package.
``php.cli``
------------

6
php/cgi.sls Normal file
View File

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

View File

@ -2,6 +2,7 @@
'Debian': {
'php_pkg': 'php5',
'apc_pkg': 'php-apc',
'cgi_pkg': 'php5-cgi',
'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm',
@ -26,6 +27,7 @@
'RedHat': {
'php_pkg': 'php',
'apc_pkg': 'php-pecl-apc',
'cgi_pkg': 'php-cgi',
'cli_pkg': 'php-cli',
'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm',