Update `Vector` config for `syslog` receiver.
This commit is contained in:
parent
7ddfc88518
commit
9175c284ec
|
@ -19,6 +19,7 @@ node.reverse_merge!({
|
||||||
'url' => 'https://github.com/vectordotdev/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',
|
||||||
|
'isSyslog' => false
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -5,3 +5,6 @@ include_recipe './attributes.rb'
|
||||||
include_recipe './install.rb'
|
include_recipe './install.rb'
|
||||||
include_recipe './setup.rb'
|
include_recipe './setup.rb'
|
||||||
|
|
||||||
|
if node['vector']['isSyslog']
|
||||||
|
include_recipe './syslog_setup.rb'
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue