Using ~> versioning

Since we should be performing semver across our cookbooks, we should
lock to the patch version.  It means "equal to or greater than in the
last digit", so e.g. "~> 2.3" means "equal to 2.3 or greater than 2.3,
but less than 3.0", while "~> 2.3.0" would mean "equal to 2.3.0 or greater
than 2.3.0, but less than 2.4.0".
  http://stackoverflow.com/questions/5170547/what-does-tilde-greater-than-mean-in-ruby-gem-dependencies

Change-Id: Ia728af82aab928c42bdf3f3d6b24c2f1b79ae3f7
This commit is contained in:
John Dewey 2013-05-27 21:24:17 -07:00
parent 5020e51e2a
commit 4cf1cbdb22
2 changed files with 4 additions and 4 deletions

View File

@ -16,9 +16,9 @@ Cookbooks
The following cookbooks are dependencies:
* database
* openstack-identity">= 2012.2.1"
* mysql
* openstack-common >= 0.2.0
* openstack-common
* openstack-identity
Usage
=====

View File

@ -14,7 +14,7 @@ recipe "openstack-image::identity_registration", "Registers Glance en
end
depends "database"
depends "openstack-identity", ">= 7.0.0"
depends "openstack-common", ">= 0.2.0"
depends "openstack-common", "~> 0.2.2"
depends "openstack-identity", "~> 7.0.0"
suggests "mysql"
suggests "postgresql"