Skip to content

Commit

Permalink
Merge pull request #872 from wazuh/870-add-filebeat-install-into-work…
Browse files Browse the repository at this point in the history
…er-nodes

Add filebeat install into worker nodes
  • Loading branch information
teddytpc1 authored Dec 21, 2023
2 parents bc66c5c + a8e6316 commit cd85193
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manifests/filebeat_oss.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
$wazuh_app_version = '4.8.0_7.10.2',
$wazuh_extensions_version = 'v4.8.0',
$wazuh_filebeat_module = 'wazuh-filebeat-0.4.tar.gz',
$wazuh_node_name = 'master',

$filebeat_fileuser = 'root',
$filebeat_filegroup = 'root',
Expand Down Expand Up @@ -86,8 +87,8 @@
}

$_certfiles = {
'manager-master.pem' => 'filebeat.pem',
'manager-master-key.pem' => 'filebeat-key.pem',
"manager-${wazuh_node_name}.pem" => 'filebeat.pem',
"manager-${wazuh_node_name}-key.pem" => 'filebeat-key.pem',
'root-ca.pem' => 'root-ca.pem',
}
$_certfiles.each |String $certfile_source, String $certfile_target| {
Expand Down

0 comments on commit cd85193

Please sign in to comment.