No description
  • Go 95.5%
  • Makefile 3.4%
  • HCL 1.1%
Find a file
Wilken Rivera f3b9a4a7fb
Merge pull request #27 from hashicorp/azr/validate-plugin-with-packer-sdk
Validate plugin from the packer-sdc plugin-validate command
2021-11-11 15:47:55 -05:00
.circleci Bump to Go 1.17 2021-10-27 15:13:41 -04:00
.github Bump to Go 1.17 2021-10-27 15:13:41 -04:00
docs Update nav title in docs 2021-10-27 15:57:29 -04:00
example better example 2021-08-30 14:23:41 +02:00
provisioner/salt-masterless remove dependency to packer and update modules 2021-09-01 14:57:29 +02:00
version Bump dev version 2021-10-27 15:26:17 -04:00
.gitignore consolidate after scaffold 2021-08-30 14:18:50 +02:00
.golangci.yml Add .golangci.yml 2021-04-27 11:07:41 +02:00
.goreleaser.yml goreleaser: run plugin-check before release 2021-11-11 14:12:09 +01:00
CHANGELOG.md Update CHANGELOG 2021-10-27 15:25:38 -04:00
CODEOWNERS Managed by Terraform: Update CODEOWNERS 2021-04-27 09:35:35 -04:00
GNUmakefile install packer-sdc at the version from deps 2021-11-11 10:55:04 +01:00
go.mod Bump github.com/hashicorp/packer-plugin-sdk from 0.2.7 to 0.2.8 2021-11-11 08:19:27 +00:00
go.sum Bump github.com/hashicorp/packer-plugin-sdk from 0.2.7 to 0.2.8 2021-11-11 08:19:27 +00:00
LICENSE Initial commit 2021-04-14 16:44:18 -04:00
main.go consolidate version location 2021-09-01 13:34:11 +02:00
README.md Managed by Terraform: Add README.md 2021-04-14 16:55:55 -04:00

Packer Plugin Salt

The Salt multi-component plugin can be used with HashiCorp Packer to create custom images. For the full list of available features for this plugin see docs.

Installation

Using pre-built releases

Using the packer init command

Starting from version 1.7, Packer supports a new packer init command allowing automatic installation of Packer plugins. Read the Packer documentation for more information.

To install this plugin, copy and paste this code into your Packer configuration . Then, run packer init.

packer {
  required_plugins {
    salt = {
      version = ">= 0.0.1"
      source  = "github.com/hashicorp/salt"
    }
  }
}

Manual installation

You can find pre-built binary releases of the plugin here. Once you have downloaded the latest archive corresponding to your target OS, uncompress it to retrieve the plugin binary file corresponding to your platform. To install the plugin, please follow the Packer documentation on installing a plugin.

From Sources

If you prefer to build the plugin from sources, clone the GitHub repository locally and run the command go build from the root directory. Upon successful compilation, a packer-plugin-salt plugin binary file can be found in the root directory. To install the compiled plugin, please follow the official Packer documentation on installing a plugin.

Configuration

For more information on how to configure the plugin, please read the documentation located in the docs/ directory.

Contributing

  • If you think you've found a bug in the code or you have a question regarding the usage of this software, please reach out to us by opening an issue in this GitHub repository.
  • Contributions to this project are welcome: if you want to add a feature or a fix a bug, please do so by opening a Pull Request in this GitHub repository. In case of feature contribution, we kindly ask you to open an issue to discuss it beforehand.