Installing puppet agent task fails on Windows vagrant box
Opened this issue · 1 comments
mwwski commented
Hi,
When running the bolt task run puppet_agent::install task on the windows Vagrant box (mwrock/WindowsNano) the following error occurs:
The task failed with exit code 1:
$private:tempArgs = Get-ContentAsJson (
: System.Management.Automation.PSArgumentException: Cannot find type [system.net.webclient]: verify that the assembly containing this type is loaded.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
MikaelSmith commented
That's expected, the puppet-agent package is an MSI (which cannot be installed on Microsoft Nano Server). Can you point to the portion of the lab that suggests doing that?