Fix DB2 ODBC driver installation issue
There is an LWRP in db2 cookbook to install ODBC driver, so need to move this driver installation to db2 cookbook. Change-Id: I35e7a81cab8ed5cdc9aa6e3dfd295d86f6f01058 Closes-bug: 1294376
This commit is contained in:
parent
bff5397cc3
commit
11c7a38321
|
@ -2,6 +2,10 @@
|
|||
|
||||
This file is used to list changes made in each version of cookbook-openstack-image.
|
||||
|
||||
## 8.2.1
|
||||
### Bug
|
||||
* Fix the DB2 ODBC driver issue
|
||||
|
||||
## 8.2.0
|
||||
### Blue print
|
||||
* Use the common auth uri tranformation function and add the auth version to configuration files.
|
||||
|
|
|
@ -124,7 +124,7 @@ when 'fedora', 'redhat', 'centos' # :pragma-foodcritic: ~FC024 - won't fix this
|
|||
default['openstack']['image']['platform'] = {
|
||||
'postgresql_python_packages' => ['python-psycopg2'],
|
||||
'mysql_python_packages' => ['MySQL-python'],
|
||||
'db2_python_packages' => ['db2-odbc', 'python-ibm-db', 'python-ibm-db-sa'],
|
||||
'db2_python_packages' => ['python-ibm-db', 'python-ibm-db-sa'],
|
||||
'image_packages' => ['openstack-glance', 'cronie', 'python-glanceclient'],
|
||||
'image_client_packages' => ['python-glanceclient'],
|
||||
'ceph_packages' => ['python-ceph'],
|
||||
|
|
|
@ -3,7 +3,7 @@ maintainer 'Opscode, Inc.'
|
|||
license 'Apache 2.0'
|
||||
description 'Installs and configures the Glance Image Registry and Delivery Service'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '8.2.0'
|
||||
version '8.2.1'
|
||||
recipe 'openstack-image::api', 'Installs packages required for a glance api server'
|
||||
recipe 'openstack-image::client', 'Install packages required for glance client'
|
||||
recipe 'openstack-image::registry', 'Installs packages required for a glance registry server'
|
||||
|
|
|
@ -24,7 +24,7 @@ describe 'openstack-image::registry' do
|
|||
it 'installs db2 python packages if explicitly told' do
|
||||
node.set['openstack']['db']['image']['service_type'] = 'db2'
|
||||
|
||||
['db2-odbc', 'python-ibm-db', 'python-ibm-db-sa'].each do |pkg|
|
||||
['python-ibm-db', 'python-ibm-db-sa'].each do |pkg|
|
||||
expect(chef_run).to install_package(pkg)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue