add php-bcmath

This commit is contained in:
Christian McHugh 2016-10-22 20:25:51 +01:00
parent 59b13390d5
commit a1f445d99f
3 changed files with 9 additions and 0 deletions

5
php/bcmath.sls Normal file
View File

@ -0,0 +1,5 @@
{% from "php/map.jinja" import php with context %}
php-bcmath:
pkg.installed:
- name: {{ php.bcmath_pkg }}

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

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

View File

@ -4,6 +4,7 @@
'Debian': {
'pkgs': {
'apcu': 'php-apcu',
'bcmath': 'php7.0-bcmath',
'php': 'php7.0',
'cgi': 'php7.0-cgi',
'cli': 'php7.0-cli',
@ -296,6 +297,7 @@
'Ubuntu': {
'pkgs': {
'php': 'php',
'bcmath': 'php7.0-bcmath',
'apc': 'php',
'apcu': 'php-apcu',
'cgi': 'php-cgi',