Use local copy of openstackclient if it exists

Change-Id: I024e4893fd67c245a00565930ac574eb3c6eed3c
This commit is contained in:
Samuel Cassiba 2018-10-03 11:29:50 -07:00
parent ae9aa3e8de
commit 929703e4b0
1 changed files with 6 additions and 1 deletions

View File

@ -23,5 +23,10 @@ source 'https://supermarket.chef.io'
end
end
cookbook 'openstackclient', git: 'https://git.openstack.org/openstack/cookbook-openstackclient'
if Dir.exist?('../cookbook-openstackclient')
cookbook 'openstackclient', path: '../cookbook-openstackclient'
else
cookbook 'openstackclient', github: 'scassiba/cookbook-openstackclient'
end
cookbook 'statsd', github: 'librato/statsd-cookbook'