modulesync 5.1.0
Fixes #1
Fixes #2
Fixes #10
<!--
Thank you for contributing to this project!
-->
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.
<!--
Thank you for contributing to this project!
-->
Adds cloud
hash for providing id
and auth
for cloud elastisearch compatibility
Fixes #42
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
@ dirs_mkdir - C:/Windows/Temp/http: (file:
/etc/puppetlabs/code/environments/production/modules/winlogbeat/manifests/install.pp, line: 27)
Fixes #40
modulesync 6.0.0