GitHub puppet-winlogbeat

Repo Checks ( 7 of 11 successfull )
Metadata Valid
No translation
passed
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
failed
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
passed
With Operatingsystem Support
No translation
passed
In Modulesync Repo
Is listed as a module managed using modulesync_config
passed
Synced
Has a .msync.yml file
passed
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
failed
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
passed
Released
Is in modulesync_config and in forge releases.
passed
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
failed
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.
failed

Open Pull Requests

Refactoring
merge-conflicts

Pull Request (PR) description

  1. Convert project to PDK
  2. Use new Puppet syntaxe
  3. Rewrite all code base on https://github.com/pcfens/puppet-filebeat
  4. Add support of winlogbeat 6 5 Add the ability to download winlogbeat from other source than http:// like puppet://

This Pull Request (PR) fixes the following issues

Fixes #1
Fixes #2
Fixes #10

Open PR in GitHub
Replace validate deprecated functions with data types
merge-conflicts
needs-work

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

validate* function from the puppetlabs/stdlib are deprecated and should be replaced by a call to validatelegacy or using data types.


Warning: This method is deprecated, please use the stdlib validate_legacy function,
with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["C:/ProgramData/PuppetLabs/cod
e/environments/production/modules/winlogbeat/manifests/init.pp", 60]:
(at C:/ProgramData/PuppetLabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function,
with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["C:/ProgramData/PuppetLabs/cod
e/environments/production/modules/winlogbeat/manifests/init.pp", 103]:
(at C:/ProgramData/PuppetLabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function,
with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["C:/ProgramData/PuppetLabs/c
ode/environments/production/modules/winlogbeat/manifests/init.pp", 104]:
(at C:/ProgramData/PuppetLabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')

The params have been assigned a type based on the validate_type function that was used before.

Open PR in GitHub
Add `cloud` hash to provide `id` and `auth` for cloud elastisearch
needs-tests

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

Adds cloud hash for providing id and auth for cloud elastisearch compatibility

This Pull Request (PR) fixes the following issues

Fixes #42

Open PR in GitHub
Add ability to use http addresses in download_url
needs-tests

Modifies the regex used to generate $filename by allowing http and https addresses. This is a simple fix that doesn't change any logic, but allows the regex to generate the $filename when a http address is used. Previously, using an http address generated the below error:

Error: Could not set 'present' on ensure: Invalid argument @ dirsmkdir - C:/Windows/Temp/http: (file:
/etc/puppetlabs/code/environments/production/modules/winlogbeat/manifests/install.pp, line: 27)
Error: Could not set 'present' on ensure: Invalid argument @ dirsmkdir - C:/Windows/Temp/http: (file:
/etc/puppetlabs/code/environments/production/modules/winlogbeat/manifests/install.pp, line: 27)
Wrapped exception:
Invalid argument @ dirsmkdir - C:/Windows/Temp/http:
Error: /Stage[main]/Winlogbeat::Install/Archive[C:/Windows/Temp/http://repo.claytonkendall.com/beats/winlogbeat-oss-7.10.2-
windows-x8664.zip.zip]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: Invalid argument
@ dir
s_mkdir - C:/Windows/Temp/http: (file:
/etc/puppetlabs/code/environments/production/modules/winlogbeat/manifests/install.pp, line: 27)

Fixes #40

Open PR in GitHub