From f088dab88b8eb5ecf81f9fca1be7b40d8684d8e5 Mon Sep 17 00:00:00 2001 From: Chen Zhiwei Date: Wed, 2 Apr 2014 07:37:47 -0400 Subject: [PATCH] Fix the depends cookbook version issue in metadata.rb The depends condition should be ether of below: depends 'cookbook-name', '>=x.y.z' depends 'cookbook-name', '~>x.y' Closes-bug: 1300524 Change-Id: I6e4d009b92161dc0746586af1da043bf85e38c15 --- CHANGELOG.md | 6 ++++++ metadata.rb | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d7a636..51e7abc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ openstack-block-storage Cookbook CHANGELOG ============================== This file is used to list changes made in each version of the openstack-block-storage cookbook. + + +## 9.0.1 +### Bug +* Fix the depends cookbook version issue in metadata.rb + ## 9.0.0 * Upgrade to Icehouse diff --git a/metadata.rb b/metadata.rb index 623a75d..b82c55f 100644 --- a/metadata.rb +++ b/metadata.rb @@ -5,7 +5,7 @@ maintainer_email 'cookbooks@lists.tfoundry.com' license 'Apache 2.0' description 'The OpenStack Advanced Volume Management service Cinder.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '9.0.0' +version '9.0.1' recipe 'openstack-block-storage::api', 'Installs the cinder-api, sets up the cinder database, and cinder service/user/endpoints in keystone' recipe 'openstack-block-storage::client', 'Install packages required for cinder client' @@ -18,9 +18,9 @@ recipe 'openstack-block-storage::volume', 'Installs the cinder-volume supports os end -depends 'apt', '~> 2.3.8' +depends 'apt', '>= 2.3.8' depends 'openstack-common', '~> 9.0' depends 'openstack-identity', '~> 9.0' depends 'openstack-image', '~> 9.0' -depends 'selinux', '~> 0.7.2' +depends 'selinux', '>= 0.7.2' depends 'python', '>= 1.4.6'