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: Id82f41712569359960dc199b95c9a1581a34fa07
Closes-bug: 1294376
This commit is contained in:
Chen Zhiwei 2014-03-21 03:05:20 -04:00
parent 11549858fd
commit e52fdf6913
4 changed files with 7 additions and 3 deletions

View File

@ -2,6 +2,10 @@
This file is used to list changes made in each version of cookbook-openstack-network.
## 8.5.1
### Bug
* Fix the DB2 ODBC driver issue
## 8.5.0
### Blue print
* Use the library method auth_uri_transform

View File

@ -896,7 +896,7 @@ when 'fedora', 'redhat', 'centos' # :pragma-foodcritic: ~FC024 - won't fix this
'user' => 'neutron',
'group' => 'neutron',
'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'],
'postgresql_python_packages' => ['python-psycopg2'],
'nova_network_packages' => ['openstack-nova-network'],
'neutron_packages' => ['openstack-neutron', 'openstack-neutron-ml2'],

View File

@ -5,7 +5,7 @@ maintainer 'Jay Pipes <jaypipes@gmail.com>'
license 'Apache 2.0'
description 'Installs and configures the OpenStack Network API Service and various agents and plugins'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '8.5.0'
version '8.5.1'
recipe 'openstack-network::client', 'Install packages required for network client'
recipe 'openstack-network::server', 'Installs packages required for a OpenStack Network server'
recipe 'openstack-network::openvswitch', 'Installs packages required for OVS'

View File

@ -19,7 +19,7 @@ describe 'openstack-network::common' do
@chef_run.node.set['openstack']['db']['network']['service_type'] = 'db2'
@chef_run.converge 'openstack-network::common'
['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