From 4dbd11110b7b6048929e98d45e942880384d2883 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Wed, 12 Sep 2018 15:31:28 -0700 Subject: [PATCH] fix typo in execute_command on shell-local provisioner and postprocessor docs --- website/source/docs/post-processors/shell-local.html.md | 2 +- website/source/docs/provisioners/shell-local.html.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/post-processors/shell-local.html.md b/website/source/docs/post-processors/shell-local.html.md index ac8056407..2d30f63cd 100644 --- a/website/source/docs/post-processors/shell-local.html.md +++ b/website/source/docs/post-processors/shell-local.html.md @@ -60,7 +60,7 @@ Optional parameters: as well, which are covered in the section below. - `execute_command` (array of strings) - The command used to execute the script. By - default this is `["/bin/sh", "-c", "{{.Vars}}, "{{.Script}}"]` + default this is `["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"]` on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows. This is treated as a [template engine](/docs/templates/engine.html). There are two available variables: `Script`, which is the path to the script diff --git a/website/source/docs/provisioners/shell-local.html.md b/website/source/docs/provisioners/shell-local.html.md index 16719f239..5932ed69d 100644 --- a/website/source/docs/provisioners/shell-local.html.md +++ b/website/source/docs/provisioners/shell-local.html.md @@ -75,7 +75,7 @@ Optional parameters: `"environment_vars": "WINRMPASS={{.WinRMPassword}}"` - `execute_command` (array of strings) - The command used to execute the script. - By default this is `["/bin/sh", "-c", "{{.Vars}}, "{{.Script}}"]` + By default this is `["/bin/sh", "-c", "{{.Vars}}", "{{.Script}}"]` on unix and `["cmd", "/c", "{{.Vars}}", "{{.Script}}"]` on windows. This is treated as a [template engine](/docs/templates/engine.html). There are two available variables: `Script`, which is the path to the script