Skip to content

Commit eca09c4

Browse files
committed
Fix github url
1 parent 0d29c86 commit eca09c4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

manifests/compose.pp

+6-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@
6262
if $raw_url != undef {
6363
$docker_compose_url = $raw_url
6464
} else {
65-
$docker_compose_url = "${base_url}/${version}/docker-compose-${::kernel}-${facts['os']['hardware']}${file_extension}"
65+
if $version =~ /^2.d+.d+$/ {
66+
$version_prepath = 'v'
67+
}
68+
69+
$docker_compose_url = "${base_url}/${version_prepath}${version}/docker-compose-${::kernel}-${facts['os']['hardware']}${file_extension}"
70+
notify {$docker_compose_url:}
6671
}
6772

6873
if $proxy != undef {

0 commit comments

Comments
 (0)