-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Overview of the Issue
There seems to be an error in the shell-local processor documentation - the default is probably actually ["/bin/sh", "-c", "{{.Vars}} {{.Script}}"], like what is shown in the shell-local post-processor documentation, though I have not verified that.
I have verified that it isn't ["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"], as plugging that into execute_command causes the script to not run.
Proposed fix
-["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"]
+["/bin/sh", "-c", "{{.Vars}} {{.Script}}"]