Because of the download URL change, modify the formula to generate URL.

This commit is contained in:
Kazuhiro MUSASHI 2020-12-06 12:03:42 +09:00
parent 1b52f65c91
commit bd1571e11c
1 changed files with 1 additions and 1 deletions

View File

@ -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