Avoid deprecated has_key method (#324)
The deprecated `has_key` method has been removed from upstream stdlib. puppetlabs/puppetlabs-stdlib#1319
fix install on windows 2012 (#329)
Co-authored-by: Phil Fenstermacher <pcfens@wm.edu>
add publisher_pipeline.disable_host flag to input template (#331)
* add publisher_pipeline.disable_host flag to input template * added parameter description to README * Update README.md
add support for features config section (#334)
* add support for features config section * add support for features config section --------- Co-authored-by: Guillaume Nobiron <gnobiron@talentsoft.com>
bump puppet-archive max version < 8.0.0 (#339)
Co-authored-by: Mark Lamers <m.r.lamers@umcutrecht.nl>
Add support for setting take_over (#341)
The new optional Boolean parameter `take_over` for `filebeat::input` defaults to `undef` but can be set to `true` to enable the "take over" functionality when switching from the deprecated `log` input type to the new `filestream` type. This allows Filebeat to take over files from the `log` input without completely re-ingesting the files, which leads to duplicated log entries. This feature is available in Filebeat 8.x. This change adds very basic spec tests for the `filestream` input type and the `take_over` logic, and updates the docs where appropriate.
Cover case when config file is in different location than binary (#342)
Check if result of exec contains "error". This covers cases when filebeat config is not in the same directory