From a87e94d4eedb885b5a065971e6d0590dc09a0ad1 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Thu, 23 Sep 2021 19:15:06 +0900 Subject: [PATCH] Change `vector` download URL. ``` diff --git a/cookbooks/vector/attributes.rb b/cookbooks/vector/attributes.rb index c41aaf0..e48f7ef 100644 --- a/cookbooks/vector/attributes.rb +++ b/cookbooks/vector/attributes.rb @@ -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' ``` ``` diff --git a/cookbooks/vector/install.rb b/cookbooks/vector/install.rb index 3def346..389ee76 100644 --- a/cookbooks/vector/install.rb +++ b/cookbooks/vector/install.rb @@ -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) ``` --- cookbooks/vector/attributes.rb | 2 +- cookbooks/vector/install.rb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cookbooks/vector/attributes.rb b/cookbooks/vector/attributes.rb index c41aaf0..e48f7ef 100644 --- a/cookbooks/vector/attributes.rb +++ b/cookbooks/vector/attributes.rb @@ -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' diff --git a/cookbooks/vector/install.rb b/cookbooks/vector/install.rb index 3def346..389ee76 100644 --- a/cookbooks/vector/install.rb +++ b/cookbooks/vector/install.rb @@ -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)