provisioner/salt-masterless: Add HCL2 example to docs

This commit is contained in:
Wilken Rivera 2020-08-26 13:17:59 -04:00
parent 3506b8876f
commit 7e81e3fbda
1 changed files with 16 additions and 1 deletions

View File

@ -21,6 +21,9 @@ master.
The example below is fully functional.
<Tabs>
<Tab heading="JSON">
```json
{
"type": "salt-masterless",
@ -28,6 +31,18 @@ The example below is fully functional.
}
```
</Tab>
<Tab heading="HCL2">
```hcl
provisioner "salt-masterless" {
local_state_tree = "/Users/me/salt"
}
```
</Tab>
</Tabs>
## 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`