Fixed some name issues for the php packages between distros.

This commit is contained in:
Forrest Alvarez 2014-01-02 05:20:11 +00:00
parent 1792773891
commit b877441585

View File

@ -1,24 +1,24 @@
{% set php = salt['grains.filter_by']({ {% set php = salt['grains.filter_by']({
'Debian': { 'Debian': {
'php-pkg': 'php5', 'php_pkg': 'php5',
'apc-pkg': 'php-apc', 'apc_pkg': 'php-apc',
'curl-pkg': 'php-curl', 'curl_pkg': 'php5-curl',
'fpm-pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'gd-pkg': 'php5-gd', 'gd_pkg': 'php5-gd',
'mcrypt-pkg': 'php5-mcrypt', 'mcrypt_pkg': 'php5-mcrypt',
'mysql-pkg': 'php5-mysql', 'mysql_pkg': 'php5-mysql',
'pear-pkg': ' php-pear', 'pear_pkg': ' php-pear',
'fpm-service': 'php5-fpm', 'fpm_service': 'php5-fpm',
}, },
'RedHat': { 'RedHat': {
'php-pkg': 'php5', 'php_pkg': 'php',
'apc-pkg': 'php-apc', 'apc-pkg': 'php-pecl-apc',
'curl-pkg': 'php-curl', 'curl-pkg': 'php-curl',
'fpm-pkg': 'php5-fpm', 'fpm-pkg': 'php-fpm',
'gd-pkg': 'php5-gd', 'gd-pkg': 'php-gd',
'mcrypt-pkg': 'php5-mcrypt', 'mcrypt-pkg': 'php-mcrypt',
'mysql-pkg': 'php5-mysql', 'mysql-pkg': 'php-mysql',
'pear-pkg': ' php-pear', 'pear-pkg': ' php-pear',
'fpm-service': 'php5-fpm', 'fpm-service': 'php-fpm',
}, },
}, merge=salt['pillar.get']('php:lookup')) %} }, merge=salt['pillar.get']('php:lookup')) %}