diff --git a/README.rst b/README.rst index b9dbb1c..1f888ad 100644 --- a/README.rst +++ b/README.rst @@ -404,6 +404,11 @@ Installs the php-pspell package. Installs the php-redis package. Disabled on opensuse need server:php:extensions repo +``php.ng.snmp`` +--------------- + +Installs the php-snmp package. + ``php.ng.soap`` --------------- diff --git a/php/ng/map.jinja b/php/ng/map.jinja index efab89c..086ba75 100644 --- a/php/ng/map.jinja +++ b/php/ng/map.jinja @@ -17,6 +17,7 @@ 'mcrypt': 'php7.0-mcrypt', 'mysql': 'php7.0-mysql', 'pspell': 'php7.0-pspell', + 'snmp': 'php7.0-snmp', 'soap': 'php7.0-soap', 'sqlite': 'php7.0-sqlite3', 'xsl': 'php7.0-xsl', @@ -308,6 +309,7 @@ 'mysqlnd': 'php5-mysqlnd', 'pear': 'php-pear', 'pspell': 'php5-pspell', + 'snmp': 'php5-snmp', 'soap': 'php-soap', 'sqlite': 'php5-sqlite', 'xcache': 'php5-xcache', @@ -393,6 +395,7 @@ 'mysql': 'php-mysql', 'mysqlnd': 'php-mysqlnd', 'pear': 'php-pear', + 'snmp': 'php-snmp', 'soap': 'php-soap', 'sqlite': 'php5-sqlite', 'xcache': 'php-xcache', @@ -441,6 +444,7 @@ 'mcrypt': 'php5-mcrypt', 'mysql': 'php5-mysql', 'pear': 'php5-pear', + 'snmp': 'php5-snmp', 'soap': 'php5-soap', 'sqlite': 'php5-sqlite', 'xml': ['php5-xmlreader','php5-xmlwriter','php5-xmlrpc'], @@ -484,6 +488,7 @@ 'memcache': 'php-memcache', 'memcached': 'php-memcached', 'pear': 'php-pear', + 'snmp': 'php-snmp', 'sqlite': 'php-sqlite', 'xcache': 'php-xcache', 'pgsql': 'php-pgsql', diff --git a/php/ng/snmp.sls b/php/ng/snmp.sls new file mode 100644 index 0000000..2c405c4 --- /dev/null +++ b/php/ng/snmp.sls @@ -0,0 +1,2 @@ +{% set state = 'snmp' %} +{% include "php/ng/installed.jinja" %}