Affects Version/s: None
Fix Version/s: BOLT 1.12.0
Release Notes:Not Needed
Release Notes Summary:Improve the error message for winrm timeouts
QA Risk Assessment:Needs Assessment
Modify the error that appears when you get a timeout connecting with WinRM.
--------------- (original ticket description below this line) ---------------
Bolt needs WinRM port to be working on the Windows Server. It is a pre-req.
For private & public cloud users, we must provide that tip that they need to execute 'Enable-PSRemoting' or 'winrm quickconfig -force' as part of the VM initialization step.
For example, for EC2-Windows VMs, one of the commands above, needs to be part of the user-data option.
An example of how to add it to the 'user-data' option is in the Puppet SE maintained 'awskit': https://github.com/puppetlabs-seteam/awskit/blob/master/data/common.yaml
In the above file, the relevant part is this:
$hosts = "$env:windir\System32\drivers\etc\hosts"
winrm quickconfig -force
Please add this note in the right slot in our Bolt docs.