Added a bunch of new PHP7 packages and fixed fpm_service for PHP5

This commit is contained in:
Bogdan Radulescu 2016-03-30 04:41:55 -07:00
parent 8fc048a4b5
commit 6e87843aa9

View File

@ -3,11 +3,25 @@
{% set php = salt['grains.filter_by']({ {% set php = salt['grains.filter_by']({
'Debian': { 'Debian': {
'php_pkg': 'php7.0', 'php_pkg': 'php7.0',
'apc_pkg': 'php7.0-apc',
'apcu_pkg': 'php7.0-apcu', 'apcu_pkg': 'php7.0-apcu',
'cli_pkg': 'php7.0-cli',
'curl_pkg': 'php7.0-curl',
'fpm_pkg': 'php7.0-fpm', 'fpm_pkg': 'php7.0-fpm',
'fpm_service': 'php7.0-fpm',
'gd_pkg': 'php7.0-gd',
'intl_pkg': 'php7.0-intl',
'json_pkg': 'php7.0-json', 'json_pkg': 'php7.0-json',
'mcrypt_pkg': 'php7.0-mcrypt',
'memcache_pkg': 'php7.0-memcached',
'memcached_pkg': 'php7.0-memcached', 'memcached_pkg': 'php7.0-memcached',
'mysql_pkg': 'php7.0-mysql',
'readline_pkg': ' php7.0-readline',
'redis_pkg': 'php7.0-redis', 'redis_pkg': 'php7.0-redis',
'xml_pkg': 'php7.0-xml',
'imagick_pkg': 'php7.0-imagick',
'suhosin_pkg': 'php7.0-suhosin',
'pgsql_pkg': 'php5-pgsql',
'dev_pkg': 'php7.0-dev', 'dev_pkg': 'php7.0-dev',
'php_ini': '/etc/php7.0/apache2/php.ini', 'php_ini': '/etc/php7.0/apache2/php.ini',
}, },
@ -24,6 +38,7 @@
'cli_pkg': 'php5-cli', 'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl', 'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'fpm_service': 'php5-fpm',
'gd_pkg': 'php5-gd', 'gd_pkg': 'php5-gd',
'oauth_pkg': 'php5-oauth', 'oauth_pkg': 'php5-oauth',
'intl_pkg': 'php5-intl', 'intl_pkg': 'php5-intl',