Merge pull request 'vectorのダウンロードURL変更に伴う、手順の修正' (#68) from change-vector-installation-step into master
Reviewed-on: #68
This commit is contained in:
commit
e352b2be11
|
@ -18,6 +18,7 @@ node.reverse_merge!({
|
|||
'vector' => {
|
||||
'url' => 'https://github.com/timberio/vector/releases/download/',
|
||||
'ipaddr' => ipaddr,
|
||||
'deb' => 'vector-amd64.deb'
|
||||
'debPrefix' => 'vector-',
|
||||
'debPostfix' => '-amd64.deb'
|
||||
},
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue