Fix #9 - Add explicit installation for php-cgi

This commit is contained in:
Giuseppe Iannello 2014-04-09 20:06:30 +02:00
parent b97bd298b9
commit be040a1229
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. Installs the php-adodb package.
``php.cgi``
------------
Installs the php-cgi package.
``php.cli`` ``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': { 'Debian': {
'php_pkg': 'php5', 'php_pkg': 'php5',
'apc_pkg': 'php-apc', 'apc_pkg': 'php-apc',
'cgi_pkg': 'php5-cgi',
'cli_pkg': 'php5-cli', 'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl', 'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
@ -26,6 +27,7 @@
'RedHat': { 'RedHat': {
'php_pkg': 'php', 'php_pkg': 'php',
'apc_pkg': 'php-pecl-apc', 'apc_pkg': 'php-pecl-apc',
'cgi_pkg': 'php-cgi',
'cli_pkg': 'php-cli', 'cli_pkg': 'php-cli',
'curl_pkg': 'curl', 'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm', 'fpm_pkg': 'php-fpm',