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: I53b334865909868dcc9b5d003795adead1ecf86c
This commit is contained in:
John Dewey
2013-05-27 21:30:51 -07:00
parent dcbe0058cb
commit 63f88f88ad
2 changed files with 5 additions and 5 deletions

View File

@@ -18,10 +18,10 @@ The following cookbooks are dependencies:
* apache2
* database
* openstack-image
* openstack-identity
* mysql
* openstack-common
* openstack-identity
* openstack-image
* rabbitmq
* selinux (Fedora)
* sysctl

View File

@@ -26,10 +26,10 @@ end
depends "apache2"
depends "database"
depends "openstack-image"
depends "openstack-identity", ">= 7.0.0"
depends "mysql"
depends "openstack-common", ">= 0.1.7"
depends "openstack-common", "~> 0.2.2"
depends "openstack-identity", "~> 7.0.0"
depends "openstack-image", "~> 7.0.0"
depends "rabbitmq"
depends "selinux"
depends "sysctl"