This commit adds the php-json package.

The json features of php have been moved to a separate package in the following distributions:
  - Debian >= 8 (jessie)
  - Ubuntu >= 13.04

Changes:
  - Added json.sls
  - Updated map.jinja
  - Updated README.md
This commit is contained in:
Nicholas J 2014-05-22 10:43:58 -04:00
parent d34aab670c
commit 0d0cf6827d
3 changed files with 13 additions and 0 deletions

View File

@ -68,6 +68,11 @@ Installs the php-imagick package.
Installs the php-imap package. Installs the php-imap package.
``php.json``
------------
Installs the php-json package.
``php.ldap`` ``php.ldap``
------------ ------------

6
php/json.sls Normal file
View File

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

View File

@ -7,6 +7,7 @@
'curl_pkg': 'php5-curl', 'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd', 'gd_pkg': 'php5-gd',
'json_pkg': 'php5-json',
'mbstring_pkg': 'php5', 'mbstring_pkg': 'php5',
'mcrypt_pkg': 'php5-mcrypt', 'mcrypt_pkg': 'php5-mcrypt',
'memcache_pkg': 'php5-memcache', 'memcache_pkg': 'php5-memcache',
@ -32,6 +33,7 @@
'curl_pkg': 'curl', 'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm', 'fpm_pkg': 'php-fpm',
'gd_pkg': 'php-gd', 'gd_pkg': 'php-gd',
'json_pkg': 'php-common',
'mbstring_pkg': 'php-mbstring', 'mbstring_pkg': 'php-mbstring',
'mcrypt_pkg': 'php-mcrypt', 'mcrypt_pkg': 'php-mcrypt',
'memcache_pkg': 'php-pecl-memcache', 'memcache_pkg': 'php-pecl-memcache',