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:
parent
20e0cf73ca
commit
a87e94d4ee
|
@ -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'
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue