chef/cookbooks/cpe_filebeat/attributes/default.rb (34 lines of code) (raw):
#
# Cookbook:: cpe_filebeat
# Attributes:: default
#
# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2
#
# Copyright:: (c) 2019-present, Uber Technologies, Inc.
# All rights reserved.
#
# This source code is licensed under the Apache 2.0 license found in the
# LICENSE file in the root directory of this source tree.
#
filebeat_dir = value_for_platform_family(
'windows' => 'C:\ProgramData\filebeat',
'default' => '/opt/filebeat',
)
filebeat_bin = value_for_platform_family(
'windows' => '\filebeat.exe',
'default' => '/filebeat',
)
default['cpe_filebeat'] = {
'dir' => filebeat_dir,
'bin' => filebeat_bin,
'install' => false,
'zip_info' => {
'debian' => {
'version' => nil,
'checksum' => nil,
'build' => nil,
},
'windows' => {
'version' => nil,
'checksum' => nil,
'build' => nil,
},
'mac_os_x' => {
'version' => nil,
'checksum' => nil,
'build' => nil,
},
},
'configure' => false,
'config' => {},
'certificate' => nil,
'unhealthy_limit' => 3,
}