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)
```
This commit is contained in:
Kazuhiro MUSASHI 2021-09-23 19:15:06 +09:00 committed by Gitea
parent 20e0cf73ca
commit a87e94d4ee
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -8,7 +8,8 @@ vtag = ''
begin begin
require 'net/http' 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 Timeout.timeout(3) do
response = Net::HTTP.get_response(uri) response = Net::HTTP.get_response(uri)