cookbook-openstack-block-st.../Berksfile

18 lines
624 B
Ruby

source 'https://supermarket.chef.io'
%w(image identity common).each do |cookbook|
if Dir.exist?("../cookbook-openstack-#{cookbook}")
cookbook "openstack-#{cookbook}", path: "../cookbook-openstack-#{cookbook}"
else
cookbook "openstack-#{cookbook}", git: "https://git.openstack.org/openstack/cookbook-openstack-#{cookbook}", branch: 'stable/queens'
end
end
if Dir.exist?('../cookbook-openstackclient')
cookbook 'openstackclient', path: '../cookbook-openstackclient'
else
cookbook 'openstackclient', git: 'https://git.openstack.org/openstack/cookbook-openstackclient', branch: 'stable/queens'
end
metadata