From 35d20c25b92ddb6fc0ba04c78625f10cb0b2168e Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Tue, 28 Nov 2023 10:49:17 -0500 Subject: [PATCH] docs: rm implicit github urls from install guide This section is redundant with the explanations given above, and can therefore be removed from the docs. --- .../content/docs/plugins/install-plugins.mdx | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/website/content/docs/plugins/install-plugins.mdx b/website/content/docs/plugins/install-plugins.mdx index c885d5366..fad795bbb 100644 --- a/website/content/docs/plugins/install-plugins.mdx +++ b/website/content/docs/plugins/install-plugins.mdx @@ -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 @@ -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. -