From 7e81e3fbda44ddd2f7d31a322c73f1500536a4f4 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Wed, 26 Aug 2020 13:17:59 -0400 Subject: [PATCH] provisioner/salt-masterless: Add HCL2 example to docs --- .../pages/docs/provisioners/salt-masterless.mdx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/website/pages/docs/provisioners/salt-masterless.mdx b/website/pages/docs/provisioners/salt-masterless.mdx index 7cb92fc6e..c409c993c 100644 --- a/website/pages/docs/provisioners/salt-masterless.mdx +++ b/website/pages/docs/provisioners/salt-masterless.mdx @@ -21,6 +21,9 @@ master. The example below is fully functional. + + + ```json { "type": "salt-masterless", @@ -28,6 +31,18 @@ The example below is fully functional. } ``` + + + +```hcl +provisioner "salt-masterless" { + local_state_tree = "/Users/me/salt" +} +``` + + + + ## Configuration Reference The reference of available configuration options is listed below. The only @@ -101,7 +116,7 @@ Optional: "windows". - `formulas` (array of strings) - An array of git source formulas to be downloaded to the local - state tree prior to moving to the remote state tree. Note: `//directory` must be included in + state tree prior to moving to the remote state tree. Note: `//directory` must be included in the URL to download the appropriate formula directory. Example: `git::https://github.com/saltstack-formulas/vault-formula.git//vault?ref=v1.2.3`