class { '::caddy':
install_method => 'github',
version => '2.2.1'
}
What are you seeing
Installation fails because of wrong archive source location (extra v for version)
What behaviour did you expect instead
Successful pulling of the archive.
Output log
Error: Execution of '/usr/bin/curl https://github.com/caddyserver/caddy/releases/download/v2.2.1/caddy_v2.2.1_linux_amd64.tar.gz -o /tmp/caddy_v2.2.1_linux_amd64.tar.gz_20210409-16786-ev6xlb -fsSLg --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 404
Error: /Stage[main]/Caddy::Install/Archive[/tmp/caddy_v2.2.1_linux_amd64.tar.gz]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://github.com/caddyserver/caddy/releases/download/v2.2.1/caddy_v2.2.1_linux_amd64.tar.gz -o /tmp/caddy_v2.2.1_linux_amd64.tar.gz_20210409-16786-ev6xlb -fsSLg --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 404
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Installation fails because of wrong archive source location (extra
v
for version)What behaviour did you expect instead
Successful pulling of the archive.
Output log
Any additional information you'd like to impart