We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6aed68 + 11fd88c commit 6f78a8eCopy full SHA for 6f78a8e
tasks/install_powershell.ps1
@@ -31,6 +31,11 @@ else {
31
$msi_name = "puppet-agent-${arch}-latest.msi"
32
}
33
34
+# Change windows_source only if the collection is a nightly build, and the source was not explicitly specified.
35
+if (($collection -like '*nightly*') -And -Not ($PSBoundParameters.ContainsKey('windows_source'))) {
36
+ $windows_source = 'https://nightlies.puppet.com/downloads'
37
+}
38
+
39
$msi_source = "$windows_source/windows/${collection}/${msi_name}"
40
41
$date_time_stamp = (Get-Date -format s) -replace ':', '-'
0 commit comments