Skip to content

Commit

Permalink
Update config.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
r-savcenko authored Oct 18, 2023
1 parent f8f2933 commit c47b6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
if (versioncmp($winlogbeat::real_version, '7') < 0) {
$winlogbeat_config['winlogbeat']['event_logs'].each | $k,$v | {
if has_key($v,'processors') {
if 'processors' in $v {
fail("winlogbeat versions < 7 do not support processors key within an event_log entry\n 'processors' key present in ${k}")
}
}
Expand Down

0 comments on commit c47b6d6

Please sign in to comment.