From 4f45372ff3814c1dd7664ecd1fa005c9774ab2d0 Mon Sep 17 00:00:00 2001 From: Giuseppe Iannello Date: Wed, 9 Apr 2014 16:52:01 +0200 Subject: [PATCH] Added php-cli package --- README.rst | 5 +++++ php/cli.sls | 6 ++++++ php/map.jinja | 2 ++ 3 files changed, 13 insertions(+) create mode 100644 php/cli.sls diff --git a/README.rst b/README.rst index 1d8c4c3..f2f8356 100644 --- a/README.rst +++ b/README.rst @@ -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`` diff --git a/php/cli.sls b/php/cli.sls new file mode 100644 index 0000000..dab4ed3 --- /dev/null +++ b/php/cli.sls @@ -0,0 +1,6 @@ +{% from "php/map.jinja" import php with context %} + +php-cli: + pkg: + - installed + - name: {{ php.cli_pkg }} diff --git a/php/map.jinja b/php/map.jinja index 2c6c1de..329e530 100644 --- a/php/map.jinja +++ b/php/map.jinja @@ -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',