You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
akomakom
changed the title
docker-compose download URL is incorrect on due to capitalized "Linux" fact
docker-compose download URL is incorrect due to capitalized "Linux" fact
Apr 11, 2023
akomakom
changed the title
docker-compose download URL is incorrect due to capitalized "Linux" fact
docker-compose download URL is incorrect in versions 2+ due to capitalized "Linux" fact
Apr 11, 2023
Describe the Bug
Class
docker::compose
silently fails to download/install the binary (file contains the string "Not Found").Expected Behavior
docker::compose
should install docker-compose binary to /usr/local/bin/Steps to Reproduce
Steps to reproduce the behavior:
class {'docker::compose': version => '2.6.0'}
in a host manifestpuppet agent -td
, download URL is printed:Note that no error is raised.
Linux
is uppercase.Environment
Additional Context
The download URL is built using
${::kernel}
, which resolves toLinux
on all my systems. The correct URL string would belinux
(lowercase).Additionally, the
v
prefix seems to apear in 2+ versions, although that can be passed in the parameter.The text was updated successfully, but these errors were encountered: