New module: intl

This commit is contained in:
Michael Hubbard 2014-08-10 21:51:16 -04:00
parent a4f02c1474
commit 0503ba52b3
5 changed files with 22 additions and 0 deletions

View File

@ -57,6 +57,11 @@ Installs the php-fpm package, starts the service, and enables it.
Installs the php-gd package.
``php.intl``
----------
Installs the php-intl package.
``php.imagick``
---------------
@ -239,6 +244,11 @@ Installs the php-imagick package.
Installs the php-imap package.
``php.ng.intl``
---------------
Installs the php-intl package.
``php.ng.json``
---------------

6
php/intl.sls Normal file
View File

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

View File

@ -7,6 +7,7 @@
'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd',
'intl_pkg': 'php5-intl',
'json_pkg': 'php5-json',
'mbstring_pkg': 'php5',
'mcrypt_pkg': 'php5-mcrypt',
@ -34,6 +35,7 @@
'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm',
'gd_pkg': 'php-gd',
'intl_pkg': 'php-intl',
'json_pkg': 'php-common',
'mbstring_pkg': 'php-mbstring',
'mcrypt_pkg': 'php-mcrypt',

2
php/ng/intl.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'intl' %}
{% include "php/ng/installed.jinja" %}

View File

@ -9,6 +9,7 @@
'curl': 'php5-curl',
'fpm': 'php5-fpm',
'gd': 'php5-gd',
'intl': 'php5-intl',
'mbstring': 'php5',
'mcrypt': 'php5-mcrypt',
'memcache': 'php5-memcache',
@ -52,6 +53,7 @@
'curl': ['php-common', 'curl'],
'fpm': 'php-fpm',
'gd': 'php-gd',
'intl': 'php-intl',
'mbstring': 'php-mbstring',
'mcrypt': 'php-mcrypt',
'memcache': 'php-pecl-memcache',