Skip to content

Commit

Permalink
Fixes ..
Browse files Browse the repository at this point in the history
  • Loading branch information
rshad committed Aug 8, 2019
1 parent 6101730 commit 1301d40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion manifests/elasticsearch.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$elasticsearch_path_logs = '/var/log/elasticsearch',


$elasticsearch_ip = '<Put Elasticsearch IP>',
$elasticsearch_ip = '<YOUR_ELASTICSEARCH_IP>',
$elasticsearch_port = '9200',
$elasticsearch_discovery_option = 'discovery.type: single-node',
$elasticsearch_cluster_initial_master_nodes = "#cluster.initial_master_nodes: ['es-node-01']",
Expand Down
16 changes: 4 additions & 12 deletions manifests/filebeat.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
# Setup for Filebeat
class wazuh::filebeat (
$filebeat_elasticsearch_ip = '<Put Elasticsearch IP>',
$filebeat_elasticsearch_ip = '<YOUR_ELASTICSEARCH_IP>',
$filebeat_elasticsearch_port = '9200',
$elasticsearch_server_ip = "\"${filebeat_elasticsearch_ip}:${filebeat_elasticsearch_port}\"",

Expand Down Expand Up @@ -45,17 +45,9 @@
notify => Service['filebeat']
}

class directory_tree {

# or you can assign them to a variable and use them in the resource
$whisper_dirs = [ '/usr/share/filebeat/module/wazuh',
]

file { $whisper_dirs:
ensure => 'directory',
mode => '0755',
}

file { '/usr/share/filebeat/module/wazuh':
ensure => 'directory',
mode => '0755',
}

service { 'filebeat':
Expand Down
2 changes: 1 addition & 1 deletion manifests/kibana.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$kibana_version = '7.2.0',
$kibana_app_version = '3.9.4_7.2.0',

$kibana_elasticsearch_ip = '<Put Elasticsearch IP>',
$kibana_elasticsearch_ip = '<YOUR_ELASTICSEARCH_IP>',
$kibana_elasticsearch_port = '9200',

$kibana_server_port = '5601',
Expand Down

0 comments on commit 1301d40

Please sign in to comment.