1. Is it possible to store the output of an inline shell command in a 
   packer variable?  I have looked into docs and have not found a proper 
   example of doing it. 
   2. Is it possible to run shell provisioner even if other provisioners 
   fails to execute or throw an exit code 1 ?

one of my provisioner runs chef-client and if it succeeds I won't have any 
problems but if it fails the packer exit's with code 1. my subsequent 
provisioners are `deleting the node and client` from the chef server. I 
want these commands to be executed even if the first provisioner fails.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" 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/packer-tool/41c7834d-6f30-4cf1-a6eb-a33335e99b34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to