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

Commit

Permalink
Updated attributes folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose M committed May 28, 2019
1 parent 9d35c94 commit eb20501
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
3 changes: 0 additions & 3 deletions cookbooks/wazuh_elastic/attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
default['wazuh-elastic']['elastic_stack_version'] = '6.8.0'
default['wazuh-elastic']['wazuh_app_version'] = "3.9.1_6.8.0"
default['wazuh-elastic']['extensions_version'] = "v3.9.1"
24 changes: 21 additions & 3 deletions cookbooks/wazuh_elastic/attributes/elasticsearch.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# jvm.options configuration

default['wazuh-elastic']['elasticsearch_memmory'] = "1g"
default['wazuh-elastic']['elasticsearch_cluster_name'] = 'wazuh'
default['wazuh-elastic']['elasticsearch_node_name'] = 'elk.wazuh-test.com'

# Cluster configuration

default['wazuh-elastic']['elasticsearch_cluster_name'] = 'es-wazuh'
default['wazuh-elastic']['elasticsearch_node_name'] = 'es-node-01'
default['wazuh-elastic']['elasticsearch_node_master'] = 'true'
default['wazuh-elastic']['elasticsearch_node_data'] = 'true'
default['wazuh-elastic']['elasticsearch_node_ingest'] = 'true'
default['wazuh-elastic']['elasticsearch_node_max_local_storage_nodes'] = '1'
default['wazuh-elasticsearch']['elasticsearch_cluster_remote_connect'] = "true"

# General configuration

default['wazuh-elastic']['elasticsearch_path_data'] = "/var/lib/elasticsearch"
default['wazuh-elastic']['elasticsearch_path_logs'] = "/var/log/elasticsearch"
default['wazuh-elastic']['elasticsearch_port'] = 9200
default['wazuh-elastic']['elasticsearch_ip'] = 'localhost'
default['wazuh-elastic']['elasticsearch_ip'] = '172.19.0.211'
default['wazuh-elastic']['discovery_option'] = '#discovery.type: single-node'
default['wazuh-elastic']['elasticsearch_cluster_initial_master_nodes'] = "cluster.initial_master_nodes: ['es-node-01']"

1 change: 0 additions & 1 deletion cookbooks/wazuh_elastic/attributes/logstash.rb

This file was deleted.

3 changes: 3 additions & 0 deletions cookbooks/wazuh_elastic/attributes/versions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default['wazuh-elastic']['elastic_stack_version'] = '7.1.0'
default['wazuh-elastic']['wazuh_app_version'] = "3.9.1_7.1.0"
default['wazuh-elastic']['extensions_version'] = "v3.9.1"

0 comments on commit eb20501

Please sign in to comment.