Skip to content

Commit 5283e6c

Browse files
ZyanKLeedavejrt
authored andcommitted
parameterized package_location for osfamily==RedHat (#370)
Value of $docker_ce_source_location is manufactured in params.pp for osfamily==RedHat to the exact same URL template. I suggest using this as the value of docker_ce_source_location may be overridden for AmazonLinux for example.
1 parent fa8ca67 commit 5283e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@
604604
$release = $docker_ce_release
605605
}
606606
'Redhat' : {
607-
$package_location = "https://download.docker.com/linux/centos/${::operatingsystemmajrelease}/${::architecture}/${docker_ce_channel}"
607+
$package_location = $docker_ce_source_location
608608
$package_key_source = $docker_ce_key_source
609609
$package_key_check_source = true
610610
}

0 commit comments

Comments
 (0)