Update `Vector` config for `syslog` receiver.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-05 14:01:36 +09:00
parent 7ddfc88518
commit 9175c284ec
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,7 @@ node.reverse_merge!({
'url' => 'https://github.com/vectordotdev/vector/releases/download/',
'ipaddr' => ipaddr,
'debPrefix' => 'vector-',
'debPostfix' => '-amd64.deb'
'debPostfix' => '-amd64.deb',
'isSyslog' => false
},
})

View File

@ -5,3 +5,6 @@ include_recipe './attributes.rb'
include_recipe './install.rb'
include_recipe './setup.rb'
if node['vector']['isSyslog']
include_recipe './syslog_setup.rb'
end