From 929703e4b0e96f79381fa4ab984d641f5e561282 Mon Sep 17 00:00:00 2001 From: Samuel Cassiba Date: Wed, 3 Oct 2018 11:29:50 -0700 Subject: [PATCH] Use local copy of openstackclient if it exists Change-Id: I024e4893fd67c245a00565930ac574eb3c6eed3c --- Berksfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Berksfile b/Berksfile index ef84b9b..59c5edc 100644 --- a/Berksfile +++ b/Berksfile @@ -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'