Browse Source

Fixed some name issues for the php packages between distros.

tags/v0.34.0
Forrest Alvarez 11 years ago
parent
commit
b877441585
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      php/map.jinja

+ 16
- 16
php/map.jinja 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')) %}

Loading…
Cancel
Save