Friends, I ran a Bolt task this morning that exited successfully when (I 
don't think...) it should have.

The task I ran is ...


*bolt file upload /home/me/puppet-agent-x64-latest.msi C:\\temp\\ --nodes 
winrm://zztypuppet04:5985 --user user --password --no-ssl --debug*


.... and here's the output from the debug.log:

2018-04-11T10:51:16.406510 DEBUG  Bolt::Inventory: Did not find config for 
winrm://zztypuppet04:5985 in inventory
2018-04-11T10:51:17.034504 DEBUG  Bolt::Transport::WinRM: Uploading: 
'/home/me/puppet-agent-x64-latest.msi' to C:\temp\ on winrm:
//zztypuppet04:5985
2018-04-11T10:51:18.287111 DEBUG  zztypuppet04: Opened session
2018-04-11T10:52:03.666441 DEBUG  zztypuppet04: Closed session



What I discovered is that

   1. the file did not upload to C:\temp on the dest host (zztypuppet04) 
   becaus 
   2. zztypuppet04 C:\temp\ did not exist


When I created C:\temp\ and re-ran the task, the file uploaded and was 
available for installation.

My question is this: shouldn't Bolt have reported an error in this case ?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a4dcbf72-2d03-4c6e-8832-76a0170cb4d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to