-
-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5.5.8
- Ruby: ?
- Distribution: Windows Server 2016 standaard
- Module version: 1.0.0
How to reproduce (e.g Puppet code you use)
Use a download_url with http:// instead of https://
What are you seeing
Faulty download file path: c:\Windows\Temp/http:
What behaviour did you expect instead
Download en unzip
Output log
Error: Could not set 'present' on ensure: Invalid argument @ dir_s_mkdir - c:\Windows\Temp/http: (file: /etc/puppetlabs/code/environments/luc_3132_beats/modules/winlogbeat/manifests/install.pp, line: 27)
Wrapped exception:
Invalid argument @ dir_s_mkdir - c:\Windows\Temp/http:
Error: /Stage[main]/Winlogbeat::Install/Archive[c:\Windows\Temp/http://repo.<...>/winlogbeat-7.4.2-windows-x86_64.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/luc_3132_beats/modules/winlogbeat/manifests/install.pp, line: 27)
Any additional information you'd like to impart
When download URL is changes to https:// everything is fine.
Issue is at puppet code 'install.pp line 7' $file_name