From d27859c9898af3d78dccad727c63ee6cfb07ba74 Mon Sep 17 00:00:00 2001 From: John Dewey Date: Mon, 27 May 2013 21:28:43 -0700 Subject: [PATCH] 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 --- README.md | 4 ++-- metadata.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dd9ce4b..26cbe3a 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/metadata.rb b/metadata.rb index 6b28207..6b66ea4 100644 --- a/metadata.rb +++ b/metadata.rb @@ -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"