Added php-cli package

This commit is contained in:
Giuseppe Iannello 2014-04-09 16:52:01 +02:00
parent 7e39eb51bf
commit 4f45372ff3
3 changed files with 13 additions and 0 deletions

View File

@ -28,6 +28,11 @@ Installs the php-apc package.
``php.adodb``
------------
Installs the php-cli package.
``php.cli``
------------
Installs the php-adodb package.
``php.curl``

6
php/cli.sls Normal file
View File

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

View File

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