Reputation: 503
I'm trying to execute a command in remote machine using puppet bolt but I'm getting below errors in powershell.
bolt command run "Get-Process" --nodes winrm://localhost --no-ssl
Error :
Unknown argument '--nodes'
bolt command run 'uname -a' --targets 192.168.0.145
Error:
Failed on 192.168.0.140: Timeout after 10 seconds connecting to 192.168.0.140
Failed on 1 target: 192.168.0.140
Failed on 192.168.0.140: Timeout after 10 seconds connecting to 192.168.0.140
Failed on 1 target: 192.168.0.140
How to fix above issues
Upvotes: 1
Views: 629
Reputation: 113
Appears the current version changed "--nodes" to "--targets"
Upvotes: 1