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:
@@ -17,11 +17,11 @@ The following cookbooks are dependencies:
|
|||||||
|
|
||||||
* apt
|
* apt
|
||||||
* database
|
* database
|
||||||
* openstack-image
|
* openstack-common
|
||||||
* openstack-identity
|
* openstack-identity
|
||||||
|
* openstack-image
|
||||||
* mysql
|
* mysql
|
||||||
* openssh
|
* openssh
|
||||||
* openstack-common
|
|
||||||
* rabbitmq
|
* rabbitmq
|
||||||
* selinux (Fedora)
|
* selinux (Fedora)
|
||||||
|
|
||||||
|
|||||||
@@ -18,10 +18,10 @@ end
|
|||||||
|
|
||||||
depends "apt"
|
depends "apt"
|
||||||
depends "database"
|
depends "database"
|
||||||
depends "openstack-image"
|
depends "openstack-common", "~> 0.2.2"
|
||||||
depends "openstack-identity", ">= 2012.2.1"
|
depends "openstack-identity", "~> 7.0.0"
|
||||||
|
depends "openstack-image", "~> 7.0.0"
|
||||||
depends "mysql"
|
depends "mysql"
|
||||||
depends "openssh"
|
depends "openssh"
|
||||||
depends "openstack-common", ">= 0.1.7"
|
|
||||||
depends "rabbitmq"
|
depends "rabbitmq"
|
||||||
depends "selinux"
|
depends "selinux"
|
||||||
|
|||||||
Reference in New Issue
Block a user