Also pull bind cookbook from git to fix version pinning issues. Change-Id: I0c6a50d33622a9dd6deff66ea204c56d6b5657c6 Signed-off-by: Lance Albertson <lance@osuosl.org>
29 lines
804 B
Ruby
29 lines
804 B
Ruby
source 'https://supermarket.chef.io'
|
|
|
|
solver :ruby, :required
|
|
|
|
[
|
|
%w(client dep),
|
|
%w(-common dep),
|
|
%w(-dns integration),
|
|
%w(-identity dep),
|
|
%w(-image dep),
|
|
%w(-integration-test integration),
|
|
%w(-network dep),
|
|
%w(-ops-database integration),
|
|
%w(-ops-messaging integration)
|
|
].each do |cookbook, group|
|
|
if Dir.exist?("../cookbook-openstack#{cookbook}")
|
|
cookbook "openstack#{cookbook}", path: "../cookbook-openstack#{cookbook}", group: group
|
|
else
|
|
cookbook "openstack#{cookbook}", git: "https://opendev.org/openstack/cookbook-openstack#{cookbook}", group: group,
|
|
branch: 'stable/stein'
|
|
end
|
|
end
|
|
|
|
# TODO(ramereth): Remove after this PR gets included in a release
|
|
# https://github.com/joyofhex/cookbook-bind/pull/60
|
|
cookbook 'bind', github: 'joyofhex/cookbook-bind'
|
|
|
|
metadata
|