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: I6fac601909a4c7bc9b253fd1ab49e24fb0929138
This commit is contained in:
Chen Zhiwei 2014-03-31 02:29:44 -04:00
parent 1247a47523
commit ff1c6e207b
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
openstack-dashboard Cookbook CHANGELOG
==============================
This file is used to list changes made in each version of the openstack-dashboard cookbook.
## 9.0.1
### Bug
* Fix the depends cookbook version issue in metadata.rb
## 9.0.0
* Upgrade to Icehouse

View File

@ -4,7 +4,7 @@ maintainer_email 'cookbooks@lists.tfoundry.com'
license 'Apache 2.0'
description 'Installs/Configures the OpenStack Dasboard (Horizon)'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '9.0.0'
version '9.0.1'
recipe 'openstack-dashboard::server', 'Sets up the Horizon dashboard within an Apache `mod_wsgi` container.'
@ -12,5 +12,5 @@ recipe 'openstack-dashboard::server', 'Sets up the Horizon dashboard w
supports os
end
depends 'apache2', '~> 1.9.6'
depends 'apache2', '>= 1.9.6'
depends 'openstack-common', '~> 9.0'