Showing with 11 additions and 3 deletions.
  1. +6 −1 CHANGELOG.md
  2. +4 −1 manifests/config.pp
  3. +1 −1 metadata.json
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ Changelog
=========

## Unreleased
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v4.0.3...HEAD)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v4.0.4...HEAD)

## [v4.0.4](https://github.com/pcfens/puppet-filebeat/tree/v4.0.4)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v4.0.3...v4.0.4)

- Validate configuration in Windows [\#219](https://github.com/pcfens/puppet-filebeat/pull/219)

## [v4.0.3](https://github.com/pcfens/puppet-filebeat/tree/v4.0.3)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v4.0.2...v4.0.3)
Expand Down
5 changes: 4 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@

$validate_cmd = ($filebeat::disable_config_test or $skip_validation) ? {
true => undef,
default => "\"${filebeat_path}\" -N -configtest -c \"%\"",
default => $major_version ? {
'7' => "\"${filebeat_path}\" test config -c \"%\"",
default => "\"${filebeat_path}\" -N -configtest -c \"%\"",
}
}

file {'filebeat.yml':
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pcfens-filebeat",
"version": "4.0.3",
"version": "4.0.4",
"author": "pcfens",
"summary": "A module to install and manage the filebeat log shipper",
"license": "Apache-2.0",
Expand Down