Showing with 16 additions and 8 deletions.
  1. +8 −1 CHANGELOG.md
  2. +1 −1 README.md
  3. +1 −1 manifests/init.pp
  4. +1 −1 manifests/params.pp
  5. +3 −3 manifests/repo.pp
  6. +1 −1 metadata.json
  7. +1 −0 spec/classes/filebeat_spec.rb
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ Changelog
=========

## Unreleased
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.6.2...HEAD)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.6.3...HEAD)

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

**Fixed Bugs**
- Spool size default should match upstream [\#24](https://github.com/pcfens/puppet-filebeat/pull/24)
- Repository names now match notification parameters Part of [\#25](https://github.com/pcfens/puppet-filebeat/pull/25)

## [v0.6.2](https://github.com/pcfens/puppet-filebeat/tree/v0.6.2)
[Full Changelog](https://github.com/pcfens/puppet-filebeat/compare/v0.6.1...v0.6.2)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Installs and configures filebeat.
- `service_ensure`: [String] The ensure parameter on the filebeat service (default: running)
- `service_enable`: [String] The enable parameter on the filebeat service (default: true)
- `service_provider`: [String] The provier parameter on the filebeat service (default: on RedHat based systems use redhat, otherwise undefined)
- `spool_size`: [Integer] How large the spool should grow before being flushed to the network (default: 1024)
- `spool_size`: [Integer] How large the spool should grow before being flushed to the network (default: 2048)
- `idle_timeout`: [String] How often the spooler should be flushed even if spool size isn't reached (default: 5s)
- `publish_async`: [Boolean] If set to true filebeat will publish while preparing the next batch of lines to transmit (defualt: false)
- `registry_file`: [String] The registry file used to store positions, absolute or relative to working directory (default .filebeat)
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# @param manage_repo [Boolean] Whether or not the upstream (elastic) repo should be configured or not (default: true)
# @param service_ensure [String] The ensure parameter on the filebeat service (default: running)
# @param service_enable [String] The enable parameter on the filebeat service (default: true)
# @param spool_size [Integer] How large the spool should grow before being flushed to the network (default: 1024)
# @param spool_size [Integer] How large the spool should grow before being flushed to the network (default: 2048)
# @param idle_timeout [String] How often the spooler should be flushed even if spool size isn't reached (default: 5s)
# @param publish_async [Boolean] If set to true filebeat will publish while preparing the next batch of lines to send (defualt: false)
# @param registry_file [String] The registry file used to store positions, absolute or relative to working directory (default .filebeat)
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$manage_repo = true
$service_ensure = running
$service_enable = true
$spool_size = 1024
$spool_size = 2048
$idle_timeout = '5s'
$publish_async = false
$registry_file = '.filebeat'
Expand Down
6 changes: 3 additions & 3 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'RedHat', 'Linux': {
if !defined(Yumrepo['beats']){
yumrepo { 'beats':
descr => 'elasticsearch repo',
descr => 'elastic beats repo',
baseurl => 'https://packages.elastic.co/beats/yum/el/$basearch',
gpgcheck => 1,
gpgkey => 'http://packages.elastic.co/GPG-KEY-elasticsearch',
Expand All @@ -31,14 +31,14 @@
exec { 'topbeat_suse_import_gpg':
command => 'rpmkeys --import http://packages.elastic.co/GPG-KEY-elasticsearch',
unless => 'test $(rpm -qa gpg-pubkey | grep -i "D88E42B4" | wc -l) -eq 1 ',
notify => [ Zypprepo['elasticsearch'] ],
notify => [ Zypprepo['beats'] ],
}
if !defined(Zypprepo['beats']){
zypprepo { 'beats':
baseurl => 'https://packages.elastic.co/beats/yum/el/$basearch',
enabled => 1,
autorefresh => 1,
name => 'elasticsearch',
name => 'beats',
gpgcheck => 1,
gpgkey => 'http://packages.elastic.co/GPG-KEY-elasticsearch',
type => 'yum',
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.6.2",
"version": "0.6.3",
"author": "pcfens",
"license": "Apache-2.0",
"summary": "A module to install and manage the filebeat log shipper",
Expand Down
1 change: 1 addition & 0 deletions spec/classes/filebeat_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:kernel => 'Linux',
:osfamily => 'Debian',
:lsbdistid => 'Ubuntu',
:lsbdistrelease => '16.04',
:rubyversion => '1.9.3',
}
end
Expand Down