Skip to content

Commit

Permalink
backport of commit facc138
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajolet-hashicorp committed Nov 28, 2023
1 parent b72fd91 commit e61be92
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions website/content/docs/plugins/install-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ various outputs, like error messages.
* [`packer init`](/packer/docs/commands/init) will install plugins in the **last** directory
in the following numbered list.

1. `PACKER_PLUGIN_PATH` if set will be the sole location for installing plugins. All other
plugin directories will be ignored.
1. `PACKER_PLUGIN_PATH` if set will be the sole location for installing plugins. All other
plugin directories will be ignored.
1. `PACKER_CONFIG_DIR`\plugins on Windows systems, or `PACKER_CONFIG_DIR`/plugins on all other systems.

* During the initialization of Packer, any plugin required in the
Expand All @@ -173,26 +173,6 @@ The SHA256SUM file will be automatically generated when a plugin is installed vi
was installed manually into `PACKER_CONFIG_DIR/plugins/github.com/azr/happycloud/` then the file
`PACKER_CONFIG_DIR/plugins/github.com/azr/happycloud/packer-plugin-happycloud_*_x5.0_darwin_amd64_SHA256SUM` must be generated manually as well.

## Implicit Github urls

Using the following example :

```hcl
required_plugins {
happycloud = {
version = ">= 2.7.0"
source = "github.com/azr/happycloud"
}
}
```

The plugin getter will look for plugins located at:

- github.com/azr/packer-plugin-happycloud

Packer will error if you set the `packer-plugin-` prefix in a `source`. This
will avoid conflicting with other plugins for other tools, like Terraform.

</Tab>
<Tab heading="Packer plugins install (recommended with legacy JSON templates)">

Expand Down

0 comments on commit e61be92

Please sign in to comment.