Merge pull request 'Change `vector` download URL.' (#88) from vector-installation-url-change into master

Reviewed-on: #88
This commit is contained in:
Kazuhiro MUSASHI 2021-09-23 19:19:38 +09:00
commit ffc3eedcaf
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ ipaddr = run_command(cmd).stdout.chomp
node.reverse_merge!({
'vector' => {
'url' => 'https://github.com/timberio/vector/releases/download/',
'url' => 'https://github.com/vectordotdev/vector/releases/download/',
'ipaddr' => ipaddr,
'debPrefix' => 'vector-',
'debPostfix' => '-amd64.deb'

View File

@ -8,7 +8,8 @@ vtag = ''
begin
require 'net/http'
uri = URI.parse('https://github.com/timberio/vector/releases/latest')
uri = URI.parse('https://github.com/vectordotdev/vector/releases/latest')
Timeout.timeout(3) do
response = Net::HTTP.get_response(uri)