Kerim Satirli
cf94fd1778
switches JSON and HCL2 tabs ( #10888 )
...
* switches JSON and HCL2 tabs for all provisioners
* corrects `packer` to `Packer`
* corrects `http` to `HTTP`
* corrects typos and highlighting consistency issues
* corrects typos and highlighting consistency issues
* corrects typos and highlighting consistency issues
* `ansible` -> `Ansible`
* `packer fmt` for HCL2 blocks in provisioners
* linting and spelling
* fixes formatting
* fixes formatting
* Update website/content/docs/provisioners/ansible.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
* fixes formatting
* improves example
* generate stuff
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-04-08 15:02:57 +02:00
Zachary Shilton
830140157d
website: remove obselete nav data ( #10811 )
...
* website: remove obselete sidebar_title frontmatter from docs
* website: bump to latest docs-page
* website: update plugin creation and registration docs
* website: fix broken links
2021-03-31 15:07:00 -04:00
Adrien Delorme
37769c2b95
Change PKR_GITHUB_API_TOKEN to PACKER_GITHUB_API_TOKEN to stay consistent with other env var settings ( #10588 )
2021-02-11 13:54:25 +01:00
Adrien Delorme
b6cfe16444
Document the PKR_GITHUB_API_TOKEN
setting in /configure#env vars
2021-02-08 10:59:04 +01:00
Adrien Delorme
f588c46fb6
add some docs for the cache dir ( #10568 )
2021-02-05 10:56:03 +01:00
Adrien Delorme
ed091163be
HCL2 Parse packer.required_plugins block + packer init ( #10304 )
...
This adds the new `required_plugins` block to be nested under the packer block.
Example:
```hcl
packer {
required_plugins {
aws = {
version = ">= 2.7.0"
source = "azr/aws"
}
azure = ">= 2.7.0"
}
}
```
For example on darwin_amd64 Packer will install those under :
* "${PACKER_HOME_DIR}/plugin/github.com/azr/amazon/packer-plugin-amazon_2.7.0_x5.0_darwin_amd64"
* "${PACKER_HOME_DIR}/plugin/github.com/hashicorp/azure/packer-plugin-azure_2.7.0_x5.0_darwin_amd64_x5"
+ docs
+ tests
2021-02-02 18:05:04 +01:00