Commit Graph
53 Commits
Author SHA1 Message Date
Wilken Rivera 26af7901fe Update fix command autocomplete to work for JSON template files only (#12366) 2023-04-14 13:00:24 -04:00
Michael Rolli 43b9bef6fd Enhance zsh completion for the packer command (#12356)
Now completes more commands and also matches template files both for
*pkr.hcl and *pkr.json as suggested by the packer template naming scheme.
2023-04-13 10:15:02 -04:00
Wilken Rivera c262467413 Extract Azure plugin components from Packer (#10979)
* Remove Azure plugin components and docs

* Add Azure plugin to vendored_plugins

* Updates Azure to use remote plugin docs

* Revendor packer-plugin-azure at v0.0.2

* Update to new version of the Packer plugin SDK v0.2.1
* Update to the official version of [email protected]
* Update salt provisioner to use new go-getter API

* Update vendored plugins to working versions

This changes fixes an issue with the go.sum for the Azure plugin.
It also revendors the plugins for puppet, chef, and ansible as v0.0.1
of those plugins where not usable.
2021-05-13 16:13:21 -04:00
Megan Marsh 00cc425b84 docs tweaks 2020-10-14 12:58:04 -07:00
James Cradock 153d4111fa Fix typo in build argument description (#10066) 2020-10-08 14:58:22 +02:00
Ash Jindal bb7c45a455 Fix zsh auto-completion
Closes #8158

This fixes the following errors when attempting to auto-complete with packer v.1.4.3:
(installed via Homebrew on macOS Mojave)

 `invalid option definition: -except=[(foo,bar,baz) Validate all builds other than these].`
 `invalid option definition: -only=[(foo,bar,baz) Validate only these builds].`
2019-09-26 12:13:02 +01:00
Adrien Delorme 9281fada2d prevent a breaking change so that we can merge the -parallel-builds option first. 2019-05-02 16:24:28 +02:00
Brett Wandel 92e75f838a added the ability to limit number of builds running in parallel 2019-04-13 22:31:54 +10:00
Shana Matthews 9e5726b98a update account link 2019-04-08 19:48:58 -07:00
Adrien Delorme 75af18661f Document --except & --only flags for post-processors 2019-01-11 13:00:10 +01:00
Josh Soref 66738ccaf4 Try to make help more consistent
Also try to synchronize the completion script
2018-10-10 21:34:35 -04:00
Megan Marsh d883dfe67a Merge pull request #6566 from hashicorp/atlas-deprecation
Complete Atlas deprecation.
2018-08-23 14:35:33 -07:00
Matthew Hooker 6ecdc130ae zsh completion 2018-08-20 10:42:32 -07:00
Abhinay Kumar f7f6a842e3 bug-fix: syntax error in createApplication()
setup throws an error: `az: error: unrecognized arguments: az ad app list` due to a syntax error in `createApplication()` method. This patch will fix the issue of the same.
2018-08-15 08:53:50 +05:30
Matthew Hooker ddf23a2c46 Complete Atlas deprecation.
Removes the push command and the Atlas post-processor.  Please see our
guide on building immutable infrastructure with Packer on CI/CD for
ideas on implementing these features yourself.
https://www.packer.io/guides/packer-on-cicd/
2018-08-02 20:23:28 -07:00
andrew-best-diaxion d2e8fd4952 forces az cli to output in JSON where required
This check in forces the scipt to output in JSON when that output is being piped to jq.
2018-04-16 08:01:31 +10:00
andrew-best-diaxion e911f03b6d Revert "azure-cli output config check added"
This reverts commit 0f0fc1b99c.
2018-04-16 07:45:17 +10:00
andrew-best-diaxion 0f0fc1b99c azure-cli output config check added
Adds a check to contrib/azure-setup.sh which ensure the users azure-cli is configured to output json.
2018-04-13 14:02:55 +10:00
Mykola Marzhan 3cfbec623a handle multiple Azure accounts correctly 2018-03-30 09:23:31 +03:00
Josh Soref faf7928a41 spelling: conservative 2018-03-13 07:22:23 +00:00
Christopher Boumenot 00ed312e04 azure: fix commands, improve UX 2018-03-03 08:46:22 +00:00
SharePointOscar db1566f6d2 Merge branch 'master' of https://github.com/SharePointOscar/packer 2018-01-31 18:00:36 -08:00
SharePointOscar 59ecaee2fe implemented changes as per feedback for Azure CLI 2.0 2018-01-31 18:00:13 -08:00
Oscar Medina 361a175fc9 Removed static value from code
The parameter within the contains() should not be hard-coded, using $meta_name variable value.
2018-01-28 07:49:58 -08:00
SharePointOscar 6327ab6f3d changed verbiage on cli name 2018-01-27 12:56:43 -08:00
SharePointOscar 6770bb8091 changed verbiage on cli name 2018-01-27 12:55:16 -08:00
SharePointOscar 0868c21d13 updated to use new Azure CLI 'az' and respective commands 2018-01-27 12:49:41 -08:00
Bengt Brodersen 5280a027d8 Update _packer 2017-08-03 23:11:52 +02:00
Bengt Brodersen 40b792746a Improve Completion through better option and file completion 2017-08-02 09:18:38 +02:00
Bengt Brodersen 4cc8f25464 Update zsh completion, add file completion 2017-07-31 10:43:38 +02:00