Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 773dc82

Browse files
Merge pull request #239 from daanemanz/add-support-for-beaver-31-changes
Add support for the new Beaver config option.
2 parents f116989 + ee824f7 commit 773dc82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipes/beaver.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
end
128128
end
129129

130+
conf['logstash_version'] = node['logstash']['server']['version'] >= '1.2' ? '1' : '0'
131+
130132
output = outputs[0]
131133
log("multiple outpus detected, will consider only the first: #{output}") { level :warn } if outputs.length > 1
132134
cmd = "beaver -t #{output} -c #{conf_file} -F #{format}"

0 commit comments

Comments
 (0)