Showing with 27 additions and 4 deletions.
  1. +14 −2 .rubocop.yml
  2. +6 −1 CHANGELOG.md
  3. +1 −1 metadata.json
  4. +6 −0 templates/prospector5.yml.erb
16 changes: 14 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Style/WhileUntilModifier:
Lint/AmbiguousRegexpLiteral:
Enabled: True

Lint/Eval:
Security/Eval:
Enabled: True

Lint/BlockAlignment:
Expand Down Expand Up @@ -302,7 +302,7 @@ Style/EmptyLiteral:
Metrics/LineLength:
Enabled: False

Style/MethodCallParentheses:
Style/MethodCallWithoutArgsParentheses:
Enabled: True

Style/MethodDefParentheses:
Expand Down Expand Up @@ -510,3 +510,15 @@ RSpec/ExampleLength:

RSpec/NamedSubject:
Enabled: False

# disabled for now since they cause a lot of issues
# these issues aren't easy to fix
RSpec/RepeatedDescription:
Enabled: False

RSpec/NestedGroups:
Enabled: False

# disable Yaml safe_load. This is needed to support ruby2.0.0 development envs
Security/YAMLLoad:
Enabled: false
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Changelog
## Unreleased
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.10.1...HEAD)

## [v0.10.2](https://github.com/pcfens/puppet-filebeat/tree/v0.10.2)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.10.1...v0.10.2)

- Add close_older and force_close_files within prospector v5 [\#77](https://github.com/pcfens/puppet-filebeat/pull/77)

## [v0.10.1](https://github.com/pcfens/puppet-filebeat/tree/v0.10.1)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.10.0...v0.10.1)

Expand All @@ -13,7 +18,7 @@ Changelog
## [v0.10.0](https://github.com/pcfens/puppet-filebeat/tree/v0.10.0)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.9.2...v0.10.0)

- Add support for JSON decoding [\72](https://github.com/pcfens/puppet-filebeat/pull/72)
- Add support for JSON decoding [\#72](https://github.com/pcfens/puppet-filebeat/pull/72)

## [v0.9.2](https://github.com/pcfens/puppet-filebeat/tree/v0.9.2)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.9.1...v0.9.2)
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": "0.10.1",
"version": "0.10.2",
"author": "pcfens",
"license": "Apache-2.0",
"summary": "A module to install and manage the filebeat log shipper",
Expand Down
6 changes: 6 additions & 0 deletions templates/prospector5.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ filebeat:
<%- if @symlinks -%>
symlinks: <%= @symlinks %>
<%- end -%>
<%- if @close_older -%>
close_older: <%= @close_older %>
<%- end -%>
<%- if @force_close_files -%>
force_close_files: <%= @force_close_files %>
<%- end -%>
<%- if @json.length > 0 -%>
### JSON configuration
Expand Down