provisioner/salt-masterless: Add HCL2 example to docs
This commit is contained in:
parent
3506b8876f
commit
7e81e3fbda
|
@ -21,6 +21,9 @@ master.
|
||||||
|
|
||||||
The example below is fully functional.
|
The example below is fully functional.
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<Tab heading="JSON">
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"type": "salt-masterless",
|
"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
|
## Configuration Reference
|
||||||
|
|
||||||
The reference of available configuration options is listed below. The only
|
The reference of available configuration options is listed below. The only
|
||||||
|
@ -101,7 +116,7 @@ Optional:
|
||||||
"windows".
|
"windows".
|
||||||
|
|
||||||
- `formulas` (array of strings) - An array of git source formulas to be downloaded to the local
|
- `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:
|
the URL to download the appropriate formula directory. Example:
|
||||||
`git::https://github.com/saltstack-formulas/vault-formula.git//vault?ref=v1.2.3`
|
`git::https://github.com/saltstack-formulas/vault-formula.git//vault?ref=v1.2.3`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue