New module: intl
This commit is contained in:
parent
a4f02c1474
commit
0503ba52b3
10
README.rst
10
README.rst
@ -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
6
php/intl.sls
Normal file
@ -0,0 +1,6 @@
|
||||
{% from "php/map.jinja" import php with context %}
|
||||
|
||||
php-intl:
|
||||
pkg:
|
||||
- installed
|
||||
- name: {{ php.intl_pkg }}
|
@ -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
2
php/ng/intl.sls
Normal file
@ -0,0 +1,2 @@
|
||||
{% set state = 'intl' %}
|
||||
{% include "php/ng/installed.jinja" %}
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user