From 3d4a12bef5d8ce021e09ee706b44e3f2e700afaf Mon Sep 17 00:00:00 2001 From: david22swan Date: Fri, 25 Jul 2025 09:43:15 +0100 Subject: [PATCH] (CAT-2413) Put a pin for the puppet-agent version This currently most be set to a specific version to download the agent for windows. --- tasks/install_powershell.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/install_powershell.ps1 b/tasks/install_powershell.ps1 index 49039bd6..ef3277d0 100644 --- a/tasks/install_powershell.ps1 +++ b/tasks/install_powershell.ps1 @@ -1,6 +1,9 @@ [CmdletBinding()] Param( - [String]$version, + # The version of the Puppet Agent to install. If not specified, the given version will be installed. + # As of the change to puppetcore, a specific given version is always required, not "latest". + # This should be a temporary pin. + [String]$version = '8.14.0', [String]$collection = 'puppet', [String]$absolute_source, [String]$windows_source = 'https://downloads.puppet.com',