Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Fix filebeat attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose M committed Jun 12, 2019
1 parent e0603b3 commit ab1fc8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cookbooks/wazuh_filebeat/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#
#
#
default['filebeat']['elastic_stack_version'] = '7.1.1'
default['filebeat']['package_name'] = 'filebeat'
default['filebeat']['service_name'] = 'filebeat'
default['filebeat']['elasticsearch_server_ip'] = "[YOUR_ELASTICSEARCH_SERVER_IP]"
Expand Down
4 changes: 2 additions & 2 deletions cookbooks/wazuh_filebeat/recipes/filebeat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
if platform_family?('debian', 'ubuntu')

apt_package 'filebeat' do
version "#{node['wazuh-elastic']['elastic_stack_version']}"
version "#{node['filebeat']['elastic_stack_version']}"
end

elsif platform_family?('rhel', 'redhat', 'centos', 'amazon')
yum_package 'filebeat' do
version "#{node['wazuh-elastic']['elastic_stack_version']}-1"
version "#{node['filebeat']['elastic_stack_version']}-1"
end

else
Expand Down

0 comments on commit ab1fc8c

Please sign in to comment.