Commit Graph

6 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI 6fe04fdaa0 Add cases for Ubuntu 24.04. 2024-05-06 17:08:42 +09:00
Kazuhiro MUSASHI feb2ed45ad Use `ip` command when Ubuntu 22.04. 2024-04-27 14:58:10 +09:00
Kazuhiro MUSASHI 9175c284ec Update `Vector` config for `syslog` receiver. 2023-02-05 14:01:45 +09:00
Kazuhiro MUSASHI a87e94d4ee 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)
```
2021-09-23 19:19:38 +09:00
Kazuhiro MUSASHI 1b52f65c91 Because of the download URL change, modify attiributes. 2020-12-06 12:04:10 +09:00
Kazuhiro MUSASHI 9d1d6018bd Install `vector`. 2020-10-31 16:51:38 +09:00