Skip to content

Commit

Permalink
adding support for filebeat 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinoc committed Feb 1, 2023
1 parent a542247 commit eb00e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@
$validate_cmd = ($filebeat::disable_config_test or $skip_validation) ? {
true => undef,
default => $major_version ? {
'7' or '8' => "\"${filebeat_path}\" ${filebeat::extra_validate_options} test config -c \"%\"",
default => "\"${filebeat_path}\" ${filebeat::extra_validate_options} -N -configtest -c \"%\"",
/(7|8)/ => "\"${filebeat_path}\" ${filebeat::extra_validate_options} test config -c \"%\"",
default => "\"${filebeat_path}\" ${filebeat::extra_validate_options} -N -configtest -c \"%\"",
}
}

Expand Down

0 comments on commit eb00e57

Please sign in to comment.