Because of the download URL change, modify the formula to generate URL.
This commit is contained in:
parent
1b52f65c91
commit
bd1571e11c
|
@ -16,7 +16,7 @@ begin
|
||||||
vtag = $1 if response.body =~ %r{tag\/(v\d+\.\d+\.\d+)}
|
vtag = $1 if response.body =~ %r{tag\/(v\d+\.\d+\.\d+)}
|
||||||
tag = vtag.sub(/^v/, '')
|
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}"
|
vector_url = "#{node['vector']['url']}/#{vtag}/#{vector_deb}"
|
||||||
end
|
end
|
||||||
rescue
|
rescue
|
||||||
|
|
Loading…
Reference in New Issue