Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
-
Night's Watch
-
2
-
NW - 2020-05-27, NW - 2020-06-10, NW - 2020-06-24
-
Bug Fix
-
The `puppet_agent::install_powershell` and `puppet_agent::install` tasks don't run anymore on Windows nodes when the desired version is already installed and fails when `puppet agent` or `pxp-agent` services are running.
-
Needs Assessment
Description
I'm using the puppet_agent::install Bolt task to install puppet agent on Windows machines. However, I've noticed that if I specify a specific version of puppet agent to install, the PowerShell script will always download and install the puppet agent MSI; regardless of if the correct version of puppet agent is already installed.
I would expect the powershell task script to check if puppet agent is installed and the desired version, then if it is it wouldn't download/install again.