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: I3fe126b95eb7ba9fae4becc126f52a94728e6c58
Closes-bug: 1294376
This commit is contained in:
Chen Zhiwei 2014-03-21 02:29:17 -04:00
parent b5cf9e4a03
commit 3ed8970f7f
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-identity.
## 8.1.2
### Bug
* Fix the DB2 ODBC driver issue
## 8.1.1
* Adding guard on register LWRP (:create_service) to not run if backend is 'templated'
* Adding guard on register LWRP (:create_endpoint) to not run if backend is 'templated'

View File

@ -156,7 +156,7 @@ when 'fedora', 'redhat', 'centos' # :pragma-foodcritic: ~FC024 - won't fix this
default['openstack']['identity']['group'] = 'keystone'
default['openstack']['identity']['platform'] = {
'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'],
'memcache_python_packages' => ['python-memcached'],
'keystone_packages' => ['openstack-keystone'],

View File

@ -4,7 +4,7 @@ maintainer_email 'matt@opscode.com'
license 'Apache 2.0'
description 'The OpenStack Identity service Keystone.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '8.1.0'
version '8.1.2'
recipe 'openstack-identity::client', 'Install packages required for keystone client'
recipe 'openstack-identity::server', 'Installs and Configures Keystone Service'

View File

@ -23,7 +23,7 @@ describe 'openstack-identity::server' do
it 'installs db2 python packages if explicitly told' do
node.set['openstack']['db']['identity']['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