diff --git a/README.rst b/README.rst index 153a14c..afde98e 100644 --- a/README.rst +++ b/README.rst @@ -372,6 +372,16 @@ Disabled on opensuse need server:php:extensions repo Installs the php-memcached package. Disabled on opensuse need server:php:extensions repo +``php.ng.mongo`` +-------------------- + +Installs the php-mongo package. + +``php.ng.mongodb`` +-------------------- + +Installs the php-mongodb package. + ``php.ng.mysql`` ---------------- diff --git a/php/ng/map.jinja b/php/ng/map.jinja index 6bd8de8..0e9cb31 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -17,6 +17,7 @@ 'intl': 'php7.0-intl', 'mbstring': 'php7.0-mbstring', 'mcrypt': 'php7.0-mcrypt', + 'mongodb': 'php7.0-mongodb', 'mysql': 'php7.0-mysql', 'pspell': 'php7.0-pspell', 'redis': 'php7.0-redis', @@ -1045,6 +1046,7 @@ 'mcrypt': 'php5-mcrypt', 'memcache': 'php5-memcache', 'memcached': 'php5-memcached', + 'mongo': 'php5-mongo', 'mysql': 'php5-mysql', 'mysqlnd': 'php5-mysqlnd', 'mdb2': 'php-mdb2', diff --git a/php/ng/mongo.sls b/php/ng/mongo.sls new file mode 100644 index 0000000..1904895 --- /dev/null +++ b/php/ng/mongo.sls @@ -0,0 +1,2 @@ +{% set state = 'mongo' %} +{% include "php/ng/installed.jinja" %} diff --git a/php/ng/mongodb.sls b/php/ng/mongodb.sls new file mode 100644 index 0000000..22ed84e --- /dev/null +++ b/php/ng/mongodb.sls @@ -0,0 +1,2 @@ +{% set state = 'mongodb' %} +{% include "php/ng/installed.jinja" %}