diff --git a/php/bcmath.sls b/php/bcmath.sls new file mode 100644 index 0000000..a4d0896 --- /dev/null +++ b/php/bcmath.sls @@ -0,0 +1,5 @@ +{% from "php/map.jinja" import php with context %} + +php-bcmath: + pkg.installed: + - name: {{ php.bcmath_pkg }} diff --git a/php/ng/bcmath.sls b/php/ng/bcmath.sls new file mode 100644 index 0000000..14a2da6 --- /dev/null +++ b/php/ng/bcmath.sls @@ -0,0 +1,2 @@ +{% set state = 'bcmath' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/map.jinja b/php/ng/map.jinja index 70e3808..6bd8de8 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -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',