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']({
'Debian': {
'php-pkg': 'php5',
'apc-pkg': 'php-apc',
'curl-pkg': 'php-curl',
'fpm-pkg': 'php5-fpm',
'gd-pkg': 'php5-gd',
'mcrypt-pkg': 'php5-mcrypt',
'mysql-pkg': 'php5-mysql',
'pear-pkg': ' php-pear',
'fpm-service': 'php5-fpm',
'php_pkg': 'php5',
'apc_pkg': 'php-apc',
'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd',
'mcrypt_pkg': 'php5-mcrypt',
'mysql_pkg': 'php5-mysql',
'pear_pkg': ' php-pear',
'fpm_service': 'php5-fpm',
},
'RedHat': {
'php-pkg': 'php5',
'apc-pkg': 'php-apc',
'php_pkg': 'php',
'apc-pkg': 'php-pecl-apc',
'curl-pkg': 'php-curl',
'fpm-pkg': 'php5-fpm',
'gd-pkg': 'php5-gd',
'mcrypt-pkg': 'php5-mcrypt',
'mysql-pkg': 'php5-mysql',
'fpm-pkg': 'php-fpm',
'gd-pkg': 'php-gd',
'mcrypt-pkg': 'php-mcrypt',
'mysql-pkg': 'php-mysql',
'pear-pkg': ' php-pear',
'fpm-service': 'php5-fpm',
'fpm-service': 'php-fpm',
},
}, merge=salt['pillar.get']('php:lookup')) %}