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: I08406324e37eba84b89b85145669ecf9d689617d
This commit is contained in:
John Dewey
2013-05-27 21:28:43 -07:00
parent 388050d1b7
commit d27859c989
2 changed files with 5 additions and 5 deletions

View File

@@ -17,11 +17,11 @@ The following cookbooks are dependencies:
* apt
* database
* openstack-image
* openstack-common
* openstack-identity
* openstack-image
* mysql
* openssh
* openstack-common
* rabbitmq
* selinux (Fedora)

View File

@@ -18,10 +18,10 @@ end
depends "apt"
depends "database"
depends "openstack-image"
depends "openstack-identity", ">= 2012.2.1"
depends "openstack-common", "~> 0.2.2"
depends "openstack-identity", "~> 7.0.0"
depends "openstack-image", "~> 7.0.0"
depends "mysql"
depends "openssh"
depends "openstack-common", ">= 0.1.7"
depends "rabbitmq"
depends "selinux"