From bd1571e11c0f53dc0935483c8b5a49cc05cc3951 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 6 Dec 2020 12:03:42 +0900 Subject: [PATCH] Because of the download URL change, modify the formula to generate URL. --- cookbooks/vector/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/vector/install.rb b/cookbooks/vector/install.rb index 8a77217..3def346 100644 --- a/cookbooks/vector/install.rb +++ b/cookbooks/vector/install.rb @@ -16,7 +16,7 @@ begin vtag = $1 if response.body =~ %r{tag\/(v\d+\.\d+\.\d+)} tag = vtag.sub(/^v/, '') - vector_deb = "#{node['vector']['deb']}" + vector_deb = "#{node['vector']['debPrefix']}#{tag}#{node['vector']['debPostfix']}" vector_url = "#{node['vector']['url']}/#{vtag}/#{vector_deb}" end rescue