fix file provisioner docs

This commit is contained in:
Megan Marsh 2018-06-12 16:16:39 -07:00
parent 085f0d01e5
commit 6226992757
1 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,9 @@ The file provisioner can upload both single files and complete directories.
## Configuration Reference ## Configuration Reference
The available configuration options are listed below. All elements are required. The available configuration options are listed below.
### Required
- `source` (string) - The path to a local file or directory to upload to - `source` (string) - The path to a local file or directory to upload to
the machine. The path can be absolute or relative. If it is relative, it is the machine. The path can be absolute or relative. If it is relative, it is
@ -48,6 +50,8 @@ The available configuration options are listed below. All elements are required.
"upload". If it is set to "download" then the file "source" in the machine "upload". If it is set to "download" then the file "source" in the machine
will be downloaded locally to "destination" will be downloaded locally to "destination"
### Optional
- `generated` (boolean) - For advanced users only. If true, check the file - `generated` (boolean) - For advanced users only. If true, check the file
existence only before uploading, rather than upon pre-build validation. existence only before uploading, rather than upon pre-build validation.
This allows to upload files created on-the-fly. This defaults to false. We This allows to upload files created on-the-fly. This defaults to false. We