Skip to content

Commit

Permalink
fix missing monitoring section in config with Auditbeat 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mxey committed Jun 25, 2024
1 parent 6c177e6 commit 5646607
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
$merged_config = $auditbeat_config_temp
}
} else {
if $auditbeat::monitoring {
$merged_config = deep_merge($auditbeat_config_temp, {'monitoring' => $auditbeat::monitoring})
} else {
$merged_config = $auditbeat_config_temp
}
}

file { '/etc/auditbeat/auditbeat.yml':
Expand Down

0 comments on commit 5646607

Please sign in to comment.