add php version to redis for debian in map.jinjatags/v1.5.1
'phpenmod_command': 'phpenmod -v' + php_version, | 'phpenmod_command': 'phpenmod -v' + php_version, | ||||
'pspell': 'php' + php_version + '-pspell', | 'pspell': 'php' + php_version + '-pspell', | ||||
'readline': 'php' + php_version + '-readline', | 'readline': 'php' + php_version + '-readline', | ||||
'redis': 'php-redis', | |||||
'redis': 'php' + php_version + '-redis', | |||||
'seclib': ['php-phpseclib', 'php-seclib'], | 'seclib': ['php-phpseclib', 'php-seclib'], | ||||
'snmp': 'php' + php_version + '-snmp', | 'snmp': 'php' + php_version + '-snmp', | ||||
'soap': 'php' + php_version + '-soap', | 'soap': 'php' + php_version + '-soap', | ||||
'php': 'php', | 'php': 'php', | ||||
'phpenmod_command': 'phpenmod', | 'phpenmod_command': 'phpenmod', | ||||
'pspell': 'php-pspell', | 'pspell': 'php-pspell', | ||||
'redis': 'php-redis', | |||||
'redis': 'php' + php_version + '-redis', | |||||
'seclib': ['php-phpseclib', 'php-seclib'], | 'seclib': ['php-phpseclib', 'php-seclib'], | ||||
'snmp': 'php-snmp', | 'snmp': 'php-snmp', | ||||
'soap': 'php-soap', | 'soap': 'php-soap', | ||||
'php': 'php', | 'php': 'php', | ||||
'phpenmod_command': 'phpenmod', | 'phpenmod_command': 'phpenmod', | ||||
'pspell': 'php-pspell', | 'pspell': 'php-pspell', | ||||
'redis': 'php-redis', | |||||
'redis': 'php' + php_version + '-redis', | |||||
'seclib': ['php-phpseclib', 'php-seclib'], | 'seclib': ['php-phpseclib', 'php-seclib'], | ||||
'snmp': 'php-snmp', | 'snmp': 'php-snmp', | ||||
'soap': 'php-soap', | 'soap': 'php-soap', | ||||
'php': 'php', | 'php': 'php', | ||||
'phpenmod_command': 'phpenmod', | 'phpenmod_command': 'phpenmod', | ||||
'pspell': 'php-pspell', | 'pspell': 'php-pspell', | ||||
'redis': 'php-redis', | |||||
'redis': 'php' + php_version + '-redis', | |||||
'seclib': ['php-phpseclib', 'php-seclib'], | 'seclib': ['php-phpseclib', 'php-seclib'], | ||||
'snmp': 'php-snmp', | 'snmp': 'php-snmp', | ||||
'soap': 'php-soap', | 'soap': 'php-soap', | ||||
'phpenmod_command': 'phpenmod -v' + php_version, | 'phpenmod_command': 'phpenmod -v' + php_version, | ||||
'pspell': 'php' + php_version + '-pspell', | 'pspell': 'php' + php_version + '-pspell', | ||||
'readline': 'php' + php_version + '-readline', | 'readline': 'php' + php_version + '-readline', | ||||
'redis': 'php-redis', | |||||
'redis': 'php' + php_version + '-redis', | |||||
'seclib': ['php-phpseclib', 'php-seclib'], | 'seclib': ['php-phpseclib', 'php-seclib'], | ||||
'snmp': 'php' + php_version + '-snmp', | 'snmp': 'php' + php_version + '-snmp', | ||||
'soap': 'php' + php_version + '-soap', | 'soap': 'php' + php_version + '-soap', |
it { should be_installed } | it { should be_installed } | ||||
end | end | ||||
describe package('php-redis') do | |||||
it { should be_installed } | |||||
end | |||||
describe package('php-xdebug') do | describe package('php-xdebug') do | ||||
it { should be_installed } | it { should be_installed } | ||||
end | end | ||||
%w[ | %w[ | ||||
bz2 cli curl fpm gd imap intl mbstring | bz2 cli curl fpm gd imap intl mbstring | ||||
mysql readline xml zip | |||||
mysql readline redis xml zip | |||||
].each do |pkg| | ].each do |pkg| | ||||
describe package("php5.6-#{pkg}") do | describe package("php5.6-#{pkg}") do | ||||
it { should be_installed } | it { should be_installed } |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |
phpenmod_command: phpenmod -v5.6 | phpenmod_command: phpenmod -v5.6 | ||||
pspell: php5.6-pspell | pspell: php5.6-pspell | ||||
readline: php5.6-readline | readline: php5.6-readline | ||||
redis: php-redis | |||||
redis: php5.6-redis | |||||
seclib: | seclib: | ||||
- php-phpseclib | - php-phpseclib | ||||
- php-seclib | - php-seclib |