From b7df3ca36f1baa904d65f1522146adc86e678ca1 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:37:05 -0500 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers (#12254) Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/config.yml | 3 +++ .github/labeler-issue-triage.yml | 3 +++ .golangci.yml | 3 +++ .release/ci.hcl | 3 +++ .release/release-metadata.hcl | 3 +++ .release/security-scan.hcl | 3 +++ Dockerfile | 3 +++ acctest/plugin/component_acc_test.go | 3 +++ acctest/plugin/plugin_acc_test.go | 3 +++ acctest/testing.go | 3 +++ acctest/testing_test.go | 3 +++ background_check.go | 3 +++ background_check_openbsd.go | 3 +++ builder/file/artifact.go | 3 +++ builder/file/artifact_test.go | 3 +++ builder/file/builder.go | 3 +++ builder/file/builder_test.go | 3 +++ builder/file/config.go | 3 +++ builder/file/config_test.go | 3 +++ builder/file/version/version.go | 3 +++ builder/null/artifact_export.go | 3 +++ builder/null/artifact_export_test.go | 3 +++ builder/null/builder.go | 3 +++ builder/null/builder_test.go | 3 +++ builder/null/config.go | 3 +++ builder/null/config_test.go | 3 +++ builder/null/ssh.go | 3 +++ builder/null/version/version.go | 3 +++ checkpoint.go | 3 +++ cmd/generate-fixer-deprecations/main.go | 3 +++ cmd/ssh-keygen/main.go | 3 +++ command/build.go | 3 +++ command/build_cancellation_test.go | 3 +++ command/build_cleanup_script_test.go | 3 +++ command/build_parallel_test.go | 3 +++ command/build_test.go | 3 +++ command/build_timeout_test.go | 3 +++ command/build_windows_test.go | 3 +++ command/cli.go | 3 +++ command/command_test.go | 3 +++ command/config_file_unix.go | 3 +++ command/config_file_windows.go | 3 +++ command/console.go | 3 +++ command/console_test.go | 3 +++ command/enumflag/flag.go | 3 +++ command/exec_test.go | 3 +++ command/fix.go | 3 +++ command/fix_test.go | 3 +++ command/flag-kv/flag.go | 3 +++ command/flag-kv/flag_json.go | 3 +++ command/flag-kv/flag_json_test.go | 3 +++ command/flag-kv/flag_strings.go | 3 +++ command/flag-kv/flag_strings_test.go | 3 +++ command/flag-kv/flag_test.go | 3 +++ command/flag-slice/flag.go | 3 +++ command/flag-slice/flag_test.go | 3 +++ command/fmt.go | 3 +++ command/fmt_test.go | 3 +++ command/hcl2_upgrade.go | 3 +++ command/hcl2_upgrade_test.go | 3 +++ command/init.go | 3 +++ command/init_test.go | 3 +++ command/inspect.go | 3 +++ command/inspect_test.go | 3 +++ command/meta.go | 3 +++ command/plugins.go | 3 +++ command/plugins_install.go | 3 +++ command/plugins_install_test.go | 3 +++ command/plugins_installed.go | 3 +++ command/plugins_remove.go | 3 +++ command/plugins_remove_test.go | 3 +++ command/plugins_required.go | 3 +++ command/signal.go | 3 +++ command/test_utils.go | 3 +++ command/utils.go | 3 +++ command/utils_test.go | 3 +++ command/validate.go | 3 +++ command/validate_test.go | 3 +++ command/vendored_plugins.go | 3 +++ command/version.go | 3 +++ command/version_test.go | 3 +++ commands.go | 3 +++ config.go | 3 +++ config_test.go | 3 +++ datasource/hcp-packer-image/data.go | 3 +++ datasource/hcp-packer-iteration/data.go | 3 +++ datasource/hcp-packer-iteration/data_acc_test.go | 3 +++ datasource/http/data.go | 3 +++ datasource/http/data_acc_test.go | 3 +++ datasource/null/data.go | 3 +++ fix/fixer.go | 3 +++ fix/fixer_amazon_enhanced_networking.go | 3 +++ fix/fixer_amazon_enhanced_networking_test.go | 3 +++ fix/fixer_amazon_private_ip.go | 3 +++ fix/fixer_amazon_private_ip_test.go | 3 +++ fix/fixer_amazon_shutdown_behavior.go | 3 +++ fix/fixer_amazon_shutdown_behavior_test.go | 3 +++ fix/fixer_amazon_spot_price_product.go | 3 +++ fix/fixer_amazon_temporary_security_group_cidrs.go | 3 +++ fix/fixer_amazon_temporary_security_group_cidrs_test.go | 3 +++ fix/fixer_azure_exclude_from_latest.go | 3 +++ fix/fixer_azure_exclude_from_latest_test.go | 3 +++ fix/fixer_clean_image_name.go | 3 +++ fix/fixer_clean_image_name_test.go | 3 +++ fix/fixer_comm_config.go | 3 +++ fix/fixer_comm_config_test.go | 3 +++ fix/fixer_createtime.go | 3 +++ fix/fixer_createtime_test.go | 3 +++ fix/fixer_docker_email.go | 3 +++ fix/fixer_galaxy_command.go | 3 +++ fix/fixer_galaxy_command_test.go | 3 +++ fix/fixer_hyperv_cpu_and_ram_naming.go | 3 +++ fix/fixer_hyperv_deprecations.go | 3 +++ fix/fixer_hyperv_deprecations_test.go | 3 +++ fix/fixer_hyperv_vmxc_typo.go | 3 +++ fix/fixer_hyperv_vmxc_typo_test.go | 3 +++ fix/fixer_iso_checksum_type_and_url.go | 3 +++ fix/fixer_iso_checksum_type_and_url_test.go | 3 +++ fix/fixer_iso_md5.go | 3 +++ fix/fixer_iso_md5_test.go | 3 +++ fix/fixer_parallels_deprecations.go | 3 +++ fix/fixer_parallels_deprecations_test.go | 3 +++ fix/fixer_parallels_headless.go | 3 +++ fix/fixer_parallels_headless_test.go | 3 +++ fix/fixer_powershell_escapes.go | 3 +++ fix/fixer_pp_docker_tag_tags.go | 3 +++ fix/fixer_pp_docker_tag_tags_test.go | 3 +++ fix/fixer_pp_manifest_filename.go | 3 +++ fix/fixer_pp_manifest_filename_test.go | 3 +++ fix/fixer_pp_vagrant_override.go | 3 +++ fix/fixer_pp_vagrant_override_test.go | 3 +++ fix/fixer_proxmox_type.go | 3 +++ fix/fixer_proxmox_type_test.go | 3 +++ fix/fixer_qemu_disk_size.go | 3 +++ fix/fixer_qemu_disk_size_test.go | 3 +++ fix/fixer_qemu_host_port.go | 3 +++ fix/fixer_qemu_host_port_test.go | 3 +++ fix/fixer_scaleway_access_key.go | 3 +++ fix/fixer_scaleway_access_key_test.go | 3 +++ fix/fixer_ssh_timeout.go | 3 +++ fix/fixer_ssh_timeout_test.go | 3 +++ fix/fixer_sshdisableagent.go | 3 +++ fix/fixer_sshdisableagent_test.go | 3 +++ fix/fixer_sshkeypath.go | 3 +++ fix/fixer_sshkeypath_test.go | 3 +++ fix/fixer_test.go | 3 +++ fix/fixer_virtualbox_gaattach.go | 3 +++ fix/fixer_virtualbox_gaattach_test.go | 3 +++ fix/fixer_virtualbox_rename.go | 3 +++ fix/fixer_virtualbox_rename_test.go | 3 +++ fix/fixer_vmware_compaction.go | 3 +++ fix/fixer_vmware_compaction_test.go | 3 +++ fix/fixer_vmware_rename.go | 3 +++ fix/fixer_vmware_rename_test.go | 3 +++ fix/fixer_vsphere_network_storage.go | 3 +++ fix/fixer_vsphere_network_storage_test.go | 3 +++ fix/helpers.go | 3 +++ hcl2template/addrs/doc.go | 3 +++ hcl2template/addrs/input_variable.go | 3 +++ hcl2template/addrs/parse_ref.go | 3 +++ hcl2template/addrs/plugin.go | 3 +++ hcl2template/addrs/plugin_test.go | 3 +++ hcl2template/addrs/referenceable.go | 3 +++ hcl2template/common_test.go | 3 +++ hcl2template/components.go | 3 +++ hcl2template/decode.go | 3 +++ hcl2template/docs.go | 3 +++ hcl2template/formatter.go | 3 +++ hcl2template/formatter_test.go | 3 +++ hcl2template/function/Consul.go | 3 +++ hcl2template/function/aws_secretetkey.go | 3 +++ hcl2template/function/datetime.go | 3 +++ hcl2template/function/datetime_test.go | 3 +++ hcl2template/function/env.go | 3 +++ hcl2template/function/index.go | 3 +++ hcl2template/function/index_test.go | 3 +++ hcl2template/function/length.go | 3 +++ hcl2template/function/length_test.go | 3 +++ hcl2template/function/templatefile.go | 3 +++ hcl2template/function/templatefile_test.go | 3 +++ hcl2template/function/vault.go | 3 +++ hcl2template/functions.go | 3 +++ hcl2template/internal/mock.go | 3 +++ hcl2template/parser.go | 3 +++ hcl2template/plugin.go | 3 +++ hcl2template/repl/format.go | 3 +++ hcl2template/repl/repl.go | 3 +++ hcl2template/shim/mock.go | 3 +++ hcl2template/shim/values.go | 3 +++ hcl2template/shim/values_test.go | 3 +++ hcl2template/types.build.from.go | 3 +++ hcl2template/types.build.go | 3 +++ hcl2template/types.build.hcp_packer_registry.go | 3 +++ hcl2template/types.build.hcp_packer_registry_test.go | 3 +++ hcl2template/types.build.post-processor.go | 3 +++ hcl2template/types.build.provisioners.go | 3 +++ hcl2template/types.build.provisioners_test.go | 3 +++ hcl2template/types.build_test.go | 3 +++ hcl2template/types.datasource.go | 3 +++ hcl2template/types.datasource_test.go | 3 +++ hcl2template/types.hcl_post-processor.go | 3 +++ hcl2template/types.hcl_provisioner.go | 3 +++ hcl2template/types.hcl_ref.go | 3 +++ hcl2template/types.packer_config.go | 3 +++ hcl2template/types.packer_config_test.go | 3 +++ hcl2template/types.required_plugins.go | 3 +++ hcl2template/types.required_plugins_test.go | 3 +++ hcl2template/types.source.go | 3 +++ hcl2template/types.source_test.go | 3 +++ hcl2template/types.variables.go | 3 +++ hcl2template/types.variables_test.go | 3 +++ hcl2template/utils.go | 3 +++ hcl2template/version.go | 3 +++ hcl2template/version_required.go | 3 +++ helper/wrappedreadline/wrappedreadline.go | 3 +++ helper/wrappedreadline/wrappedreadline_solaris.go | 3 +++ helper/wrappedreadline/wrappedreadline_unix.go | 3 +++ helper/wrappedreadline/wrappedreadline_windows.go | 3 +++ helper/wrappedstreams/streams.go | 3 +++ helper/wrappedstreams/streams_other.go | 3 +++ helper/wrappedstreams/streams_windows.go | 3 +++ internal/hcp/api/client.go | 3 +++ internal/hcp/api/errors.go | 3 +++ internal/hcp/api/mock_service.go | 3 +++ internal/hcp/api/service.go | 3 +++ internal/hcp/env/env.go | 3 +++ internal/hcp/env/env_test.go | 3 +++ internal/hcp/env/variables.go | 3 +++ internal/hcp/registry/artifact.go | 3 +++ internal/hcp/registry/errors.go | 3 +++ internal/hcp/registry/hcl.go | 3 +++ internal/hcp/registry/hcp.go | 3 +++ internal/hcp/registry/json.go | 3 +++ internal/hcp/registry/null_registry.go | 3 +++ internal/hcp/registry/registry.go | 3 +++ internal/hcp/registry/types.bucket.go | 3 +++ internal/hcp/registry/types.bucket_service_test.go | 3 +++ internal/hcp/registry/types.bucket_test.go | 3 +++ internal/hcp/registry/types.builds.go | 3 +++ internal/hcp/registry/types.iterations.go | 3 +++ internal/hcp/registry/types.iterations_test.go | 3 +++ log.go | 3 +++ main.go | 3 +++ main_test.go | 3 +++ packer/build.go | 3 +++ packer/build_test.go | 3 +++ packer/builder_test.go | 3 +++ packer/client_test.go | 3 +++ packer/cmd_builder.go | 3 +++ packer/cmd_builder_test.go | 3 +++ packer/cmd_datasource.go | 3 +++ packer/cmd_datasource_test.go | 3 +++ packer/cmd_hook.go | 3 +++ packer/cmd_hook_test.go | 3 +++ packer/cmd_post_processor.go | 3 +++ packer/cmd_post_processor_test.go | 3 +++ packer/cmd_provisioner.go | 3 +++ packer/cmd_provisioner_test.go | 3 +++ packer/core.go | 3 +++ packer/core_test.go | 3 +++ packer/maps.go | 3 +++ packer/packer_test.go | 3 +++ packer/plugin-getter/checksum.go | 3 +++ packer/plugin-getter/docs.go | 3 +++ packer/plugin-getter/github/docs.go | 3 +++ packer/plugin-getter/github/getter.go | 3 +++ packer/plugin-getter/plugins.go | 3 +++ packer/plugin-getter/plugins_test.go | 3 +++ packer/plugin.go | 3 +++ packer/plugin_client.go | 3 +++ packer/plugin_discover_test.go | 3 +++ packer/plugin_folders.go | 3 +++ packer/plugin_test.go | 3 +++ packer/post_processor_mock.go | 3 +++ packer/progressbar.go | 3 +++ packer/progressbar_solaris.go | 3 +++ packer/progressbar_test.go | 3 +++ packer/provisioner.go | 3 +++ packer/provisioner_test.go | 3 +++ packer/provisioner_timeout.go | 3 +++ packer/run_interfaces.go | 3 +++ packer/telemetry.go | 3 +++ packer/telemetry_test.go | 3 +++ packer/testing.go | 3 +++ packer/ui.go | 3 +++ packer/ui_test.go | 3 +++ panic.go | 3 +++ post-processor/artifice/artifact.go | 3 +++ post-processor/artifice/post-processor.go | 3 +++ post-processor/artifice/version/version.go | 3 +++ post-processor/checksum/artifact.go | 3 +++ post-processor/checksum/post-processor.go | 3 +++ post-processor/checksum/post-processor_test.go | 3 +++ post-processor/checksum/version/version.go | 3 +++ post-processor/compress/artifact.go | 3 +++ post-processor/compress/artifact_test.go | 3 +++ post-processor/compress/benchmark.go | 3 +++ post-processor/compress/post-processor.go | 3 +++ post-processor/compress/post-processor_test.go | 3 +++ post-processor/compress/tar_fix.go | 3 +++ post-processor/compress/tar_fix_go110.go | 3 +++ post-processor/compress/version/version.go | 3 +++ post-processor/manifest/artifact.go | 3 +++ post-processor/manifest/post-processor.go | 3 +++ post-processor/manifest/version/version.go | 3 +++ post-processor/shell-local/post-processor.go | 3 +++ post-processor/shell-local/post-processor_test.go | 3 +++ post-processor/shell-local/version/version.go | 3 +++ provisioner/breakpoint/provisioner.go | 3 +++ provisioner/breakpoint/version/version.go | 3 +++ provisioner/file/provisioner.go | 3 +++ provisioner/file/provisioner_test.go | 3 +++ provisioner/file/version/version.go | 3 +++ provisioner/powershell/execution_policy.go | 3 +++ provisioner/powershell/execution_policy_test.go | 3 +++ provisioner/powershell/provisioner.go | 3 +++ provisioner/powershell/provisioner_acc_test.go | 3 +++ provisioner/powershell/provisioner_test.go | 3 +++ provisioner/powershell/version/version.go | 3 +++ provisioner/shell-local/provisioner.go | 3 +++ provisioner/shell-local/provisioner_acc_test.go | 3 +++ provisioner/shell-local/provisioner_test.go | 3 +++ provisioner/shell-local/version/version.go | 3 +++ provisioner/shell/provisioner.go | 3 +++ provisioner/shell/provisioner_acc_test.go | 3 +++ provisioner/shell/provisioner_test.go | 3 +++ provisioner/shell/unix_reader.go | 3 +++ provisioner/shell/unix_reader_test.go | 3 +++ provisioner/shell/version/version.go | 3 +++ provisioner/sleep/provisioner.go | 3 +++ provisioner/sleep/provisioner_test.go | 3 +++ provisioner/sleep/version/version.go | 3 +++ provisioner/windows-restart/provisioner.go | 3 +++ provisioner/windows-restart/provisioner_test.go | 3 +++ provisioner/windows-restart/version/version.go | 3 +++ provisioner/windows-shell/provisioner.go | 3 +++ provisioner/windows-shell/provisioner_test.go | 3 +++ provisioner/windows-shell/version/version.go | 3 +++ scripts/build.ps1 | 3 +++ scripts/build.sh | 3 +++ scripts/codesign_example.sh | 3 +++ scripts/dist.sh | 3 +++ scripts/generate-plugins.go | 3 +++ scripts/off_gopath.sh | 3 +++ scripts/prepare_changelog.sh | 3 +++ scripts/sign.sh | 3 +++ scripts/sort-md-list.py | 3 +++ scripts/upgrade_plugins.sh | 3 +++ scripts/vagrant-freebsd-priv-config.sh | 3 +++ scripts/vagrant-freebsd-unpriv-bootstrap.sh | 3 +++ scripts/vagrant-linux-priv-config.sh | 3 +++ scripts/vagrant-linux-priv-go.sh | 3 +++ scripts/vagrant-linux-unpriv-bootstrap.sh | 3 +++ tty.go | 3 +++ tty_solaris.go | 3 +++ version/version.go | 3 +++ 356 files changed, 1068 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7221ea28b..eae8012b9 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + blank_issues_enabled: false contact_links: - name: Packer Community Support diff --git a/.github/labeler-issue-triage.yml b/.github/labeler-issue-triage.yml index 9e024296b..1737a33b9 100644 --- a/.github/labeler-issue-triage.yml +++ b/.github/labeler-issue-triage.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + bug: - 'panic:' crash: diff --git a/.golangci.yml b/.golangci.yml index 946fbc0ef..ccd990c00 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + issues: # List of regexps of issue texts to exclude, empty list by default. # But independently from this option we use default exclude patterns, diff --git a/.release/ci.hcl b/.release/ci.hcl index 4bff4dc72..6ca7eb0de 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + schema = "1" project "packer" { diff --git a/.release/release-metadata.hcl b/.release/release-metadata.hcl index 1679cba36..0fb245667 100644 --- a/.release/release-metadata.hcl +++ b/.release/release-metadata.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + url_docker_registry_dockerhub = "https://hub.docker.com/r/hashicorp/packer" url_docker_registry_ecr = "https://gallery.ecr.aws/hashicorp/packer" url_license = "https://github.com/hashicorp/packer/blob/main/LICENSE" diff --git a/.release/security-scan.hcl b/.release/security-scan.hcl index d47f9634c..7d3258126 100644 --- a/.release/security-scan.hcl +++ b/.release/security-scan.hcl @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + container { dependencies = false alpine_secdb = true diff --git a/Dockerfile b/Dockerfile index 3b6539301..75acdcd34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # ======================================================================== # # This Dockerfile contains multiple targets. diff --git a/acctest/plugin/component_acc_test.go b/acctest/plugin/component_acc_test.go index e0d070ed8..ff77adf63 100644 --- a/acctest/plugin/component_acc_test.go +++ b/acctest/plugin/component_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // component_acc_test.go should contain acceptance tests for plugin components // to make sure all component types can be discovered and started. package plugin diff --git a/acctest/plugin/plugin_acc_test.go b/acctest/plugin/plugin_acc_test.go index b0eb24be1..9e69afe37 100644 --- a/acctest/plugin/plugin_acc_test.go +++ b/acctest/plugin/plugin_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // plugin_acc_test.go should contain acceptance tests for features related to // installing, discovering and running plugins. package plugin diff --git a/acctest/testing.go b/acctest/testing.go index 2a9d3bca7..e716ec97b 100644 --- a/acctest/testing.go +++ b/acctest/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acctest import ( diff --git a/acctest/testing_test.go b/acctest/testing_test.go index 2ea0031b2..71247d4ce 100644 --- a/acctest/testing_test.go +++ b/acctest/testing_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package acctest import ( diff --git a/background_check.go b/background_check.go index 2c4bb66c1..c6a723526 100644 --- a/background_check.go +++ b/background_check.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !openbsd // +build !openbsd diff --git a/background_check_openbsd.go b/background_check_openbsd.go index b3186ddd7..ff2ef4b0e 100644 --- a/background_check_openbsd.go +++ b/background_check_openbsd.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/builder/file/artifact.go b/builder/file/artifact.go index 1a7442370..9b9ed8ef9 100644 --- a/builder/file/artifact.go +++ b/builder/file/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builder/file/artifact_test.go b/builder/file/artifact_test.go index 3d37f8116..ea799e12f 100644 --- a/builder/file/artifact_test.go +++ b/builder/file/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builder/file/builder.go b/builder/file/builder.go index 82ddd0959..e6df9b540 100644 --- a/builder/file/builder.go +++ b/builder/file/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file /* diff --git a/builder/file/builder_test.go b/builder/file/builder_test.go index ea8669240..dfa87277e 100644 --- a/builder/file/builder_test.go +++ b/builder/file/builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builder/file/config.go b/builder/file/config.go index b784400c1..017355ee6 100644 --- a/builder/file/config.go +++ b/builder/file/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package file diff --git a/builder/file/config_test.go b/builder/file/config_test.go index a701b9609..60d3553a1 100644 --- a/builder/file/config_test.go +++ b/builder/file/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/builder/file/version/version.go b/builder/file/version/version.go index 3b26a6e55..3cb6b9ec1 100644 --- a/builder/file/version/version.go +++ b/builder/file/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/builder/null/artifact_export.go b/builder/null/artifact_export.go index e8d5dd0a6..ae6e46f27 100644 --- a/builder/null/artifact_export.go +++ b/builder/null/artifact_export.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/artifact_export_test.go b/builder/null/artifact_export_test.go index 77eeeced8..ffa668865 100644 --- a/builder/null/artifact_export_test.go +++ b/builder/null/artifact_export_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/builder.go b/builder/null/builder.go index 5e2a7d369..9b660bd24 100644 --- a/builder/null/builder.go +++ b/builder/null/builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/builder_test.go b/builder/null/builder_test.go index f710f1dfd..b50d1484f 100644 --- a/builder/null/builder_test.go +++ b/builder/null/builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/config.go b/builder/null/config.go index 39bec200a..b240d57d9 100644 --- a/builder/null/config.go +++ b/builder/null/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package null diff --git a/builder/null/config_test.go b/builder/null/config_test.go index 47e023312..1123d470e 100644 --- a/builder/null/config_test.go +++ b/builder/null/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/ssh.go b/builder/null/ssh.go index 730ebe5fb..f79bdd1ee 100644 --- a/builder/null/ssh.go +++ b/builder/null/ssh.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package null import ( diff --git a/builder/null/version/version.go b/builder/null/version/version.go index 5e2659824..f3b8cb444 100644 --- a/builder/null/version/version.go +++ b/builder/null/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/checkpoint.go b/checkpoint.go index e1b519e91..5ca534ea8 100644 --- a/checkpoint.go +++ b/checkpoint.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/cmd/generate-fixer-deprecations/main.go b/cmd/generate-fixer-deprecations/main.go index 034ca12e9..a3e765474 100644 --- a/cmd/generate-fixer-deprecations/main.go +++ b/cmd/generate-fixer-deprecations/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/cmd/ssh-keygen/main.go b/cmd/ssh-keygen/main.go index 1eca73d47..a15797ea8 100644 --- a/cmd/ssh-keygen/main.go +++ b/cmd/ssh-keygen/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/command/build.go b/command/build.go index efa370f46..b707fe22d 100644 --- a/command/build.go +++ b/command/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_cancellation_test.go b/command/build_cancellation_test.go index a81c057db..809fd53bf 100644 --- a/command/build_cancellation_test.go +++ b/command/build_cancellation_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_cleanup_script_test.go b/command/build_cleanup_script_test.go index 87e28d451..82f7fdd94 100644 --- a/command/build_cleanup_script_test.go +++ b/command/build_cleanup_script_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_parallel_test.go b/command/build_parallel_test.go index 960b5608e..959134fd5 100644 --- a/command/build_parallel_test.go +++ b/command/build_parallel_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_test.go b/command/build_test.go index 21a032d6e..8dac9b8e0 100644 --- a/command/build_test.go +++ b/command/build_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_timeout_test.go b/command/build_timeout_test.go index ca774a566..9896894ec 100644 --- a/command/build_timeout_test.go +++ b/command/build_timeout_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/build_windows_test.go b/command/build_windows_test.go index 9978bfea0..5c99cd957 100644 --- a/command/build_windows_test.go +++ b/command/build_windows_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import "strings" diff --git a/command/cli.go b/command/cli.go index e1eb1ffbc..de47a735c 100644 --- a/command/cli.go +++ b/command/cli.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/command_test.go b/command/command_test.go index a4505c611..4666a4109 100644 --- a/command/command_test.go +++ b/command/command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/config_file_unix.go b/command/config_file_unix.go index fa62867cc..31a8db0ee 100644 --- a/command/config_file_unix.go +++ b/command/config_file_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build darwin || freebsd || linux || netbsd || openbsd || solaris // +build darwin freebsd linux netbsd openbsd solaris diff --git a/command/config_file_windows.go b/command/config_file_windows.go index 667f955ac..52cdf420c 100644 --- a/command/config_file_windows.go +++ b/command/config_file_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/command/console.go b/command/console.go index b6f82c59b..431cc1477 100644 --- a/command/console.go +++ b/command/console.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/console_test.go b/command/console_test.go index bfc5fd65c..b8c4989ff 100644 --- a/command/console_test.go +++ b/command/console_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/enumflag/flag.go b/command/enumflag/flag.go index ab6dce29b..cbb587691 100644 --- a/command/enumflag/flag.go +++ b/command/enumflag/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package enumflag import "fmt" diff --git a/command/exec_test.go b/command/exec_test.go index 7a13201f3..cfdbda66c 100644 --- a/command/exec_test.go +++ b/command/exec_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/fix.go b/command/fix.go index db5f62fc4..893c788ef 100644 --- a/command/fix.go +++ b/command/fix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/fix_test.go b/command/fix_test.go index d4ae5ca07..d092a8091 100644 --- a/command/fix_test.go +++ b/command/fix_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/flag-kv/flag.go b/command/flag-kv/flag.go index 0bf4b0086..96cda3120 100644 --- a/command/flag-kv/flag.go +++ b/command/flag-kv/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-kv/flag_json.go b/command/flag-kv/flag_json.go index 9af9fe1da..25d34ef5d 100644 --- a/command/flag-kv/flag_json.go +++ b/command/flag-kv/flag_json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-kv/flag_json_test.go b/command/flag-kv/flag_json_test.go index df5a99e64..ab8a67e0b 100644 --- a/command/flag-kv/flag_json_test.go +++ b/command/flag-kv/flag_json_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-kv/flag_strings.go b/command/flag-kv/flag_strings.go index 2d63af9fa..d639bde6a 100644 --- a/command/flag-kv/flag_strings.go +++ b/command/flag-kv/flag_strings.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-kv/flag_strings_test.go b/command/flag-kv/flag_strings_test.go index 48de4bb18..070e95c0d 100644 --- a/command/flag-kv/flag_strings_test.go +++ b/command/flag-kv/flag_strings_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-kv/flag_test.go b/command/flag-kv/flag_test.go index 9f81d5192..286441195 100644 --- a/command/flag-kv/flag_test.go +++ b/command/flag-kv/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package kvflag import ( diff --git a/command/flag-slice/flag.go b/command/flag-slice/flag.go index 587b674fa..b75580ec2 100644 --- a/command/flag-slice/flag.go +++ b/command/flag-slice/flag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sliceflag import "strings" diff --git a/command/flag-slice/flag_test.go b/command/flag-slice/flag_test.go index 61d8682b2..d70b270b5 100644 --- a/command/flag-slice/flag_test.go +++ b/command/flag-slice/flag_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sliceflag import ( diff --git a/command/fmt.go b/command/fmt.go index 2cab9bec0..9cfaa46b8 100644 --- a/command/fmt.go +++ b/command/fmt.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/fmt_test.go b/command/fmt_test.go index 0a9c0a6e7..b642cdef5 100644 --- a/command/fmt_test.go +++ b/command/fmt_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/hcl2_upgrade.go b/command/hcl2_upgrade.go index 3df4fb452..adba96d7f 100644 --- a/command/hcl2_upgrade.go +++ b/command/hcl2_upgrade.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/hcl2_upgrade_test.go b/command/hcl2_upgrade_test.go index d7899fe6e..d2f92b6b6 100644 --- a/command/hcl2_upgrade_test.go +++ b/command/hcl2_upgrade_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/init.go b/command/init.go index e4a218d86..761627134 100644 --- a/command/init.go +++ b/command/init.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/init_test.go b/command/init_test.go index 869707575..7f35d3f4c 100644 --- a/command/init_test.go +++ b/command/init_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/inspect.go b/command/inspect.go index a930c6ee6..827d61f70 100644 --- a/command/inspect.go +++ b/command/inspect.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/inspect_test.go b/command/inspect_test.go index 4bb594d07..0d87ee71a 100644 --- a/command/inspect_test.go +++ b/command/inspect_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/meta.go b/command/meta.go index 3f1665956..1232aafca 100644 --- a/command/meta.go +++ b/command/meta.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins.go b/command/plugins.go index 7ec255381..0b415d8f5 100644 --- a/command/plugins.go +++ b/command/plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_install.go b/command/plugins_install.go index a744b7d9e..d40bb46bd 100644 --- a/command/plugins_install.go +++ b/command/plugins_install.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_install_test.go b/command/plugins_install_test.go index 242392180..577d8b3f7 100644 --- a/command/plugins_install_test.go +++ b/command/plugins_install_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_installed.go b/command/plugins_installed.go index 96ddc65d8..58b4381a9 100644 --- a/command/plugins_installed.go +++ b/command/plugins_installed.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_remove.go b/command/plugins_remove.go index a0258ee52..32d77749c 100644 --- a/command/plugins_remove.go +++ b/command/plugins_remove.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_remove_test.go b/command/plugins_remove_test.go index 6c5872b52..41104db71 100644 --- a/command/plugins_remove_test.go +++ b/command/plugins_remove_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/plugins_required.go b/command/plugins_required.go index f3573f1ed..d48432229 100644 --- a/command/plugins_required.go +++ b/command/plugins_required.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/signal.go b/command/signal.go index f8eb2b18d..5980192ba 100644 --- a/command/signal.go +++ b/command/signal.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/test_utils.go b/command/test_utils.go index 9ad5f6111..41e02dbcb 100644 --- a/command/test_utils.go +++ b/command/test_utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/utils.go b/command/utils.go index 1123a2f0a..9fee02d41 100644 --- a/command/utils.go +++ b/command/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/utils_test.go b/command/utils_test.go index dfb0a036b..426ea653e 100644 --- a/command/utils_test.go +++ b/command/utils_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/validate.go b/command/validate.go index 08eced959..1bc4cc1d7 100644 --- a/command/validate.go +++ b/command/validate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/validate_test.go b/command/validate_test.go index d4188c497..5b51f3781 100644 --- a/command/validate_test.go +++ b/command/validate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/vendored_plugins.go b/command/vendored_plugins.go index 5ddf9edc1..4295c8261 100644 --- a/command/vendored_plugins.go +++ b/command/vendored_plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version.go b/command/version.go index b5f3ad523..3a6db86d7 100644 --- a/command/version.go +++ b/command/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/command/version_test.go b/command/version_test.go index 2a645690f..cd2b67e5c 100644 --- a/command/version_test.go +++ b/command/version_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package command import ( diff --git a/commands.go b/commands.go index 631b943c2..01e3bf56e 100644 --- a/commands.go +++ b/commands.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/config.go b/config.go index e352de0fb..6b59b98fe 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/config_test.go b/config_test.go index 9224b259c..b744a274b 100644 --- a/config_test.go +++ b/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/datasource/hcp-packer-image/data.go b/datasource/hcp-packer-image/data.go index 4e109afe4..3e473e145 100644 --- a/datasource/hcp-packer-image/data.go +++ b/datasource/hcp-packer-image/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type DatasourceOutput,Config package hcp_packer_image diff --git a/datasource/hcp-packer-iteration/data.go b/datasource/hcp-packer-iteration/data.go index 4ed7fd39c..7a7be3e49 100644 --- a/datasource/hcp-packer-iteration/data.go +++ b/datasource/hcp-packer-iteration/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type DatasourceOutput,Config package hcp_packer_iteration diff --git a/datasource/hcp-packer-iteration/data_acc_test.go b/datasource/hcp-packer-iteration/data_acc_test.go index dab9bd38f..bf91e870d 100644 --- a/datasource/hcp-packer-iteration/data_acc_test.go +++ b/datasource/hcp-packer-iteration/data_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcp_packer_iteration import ( diff --git a/datasource/http/data.go b/datasource/http/data.go index e94e153ad..ec7a1b3e5 100644 --- a/datasource/http/data.go +++ b/datasource/http/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type DatasourceOutput,Config package http diff --git a/datasource/http/data_acc_test.go b/datasource/http/data_acc_test.go index b6b1f83ac..ffad02190 100644 --- a/datasource/http/data_acc_test.go +++ b/datasource/http/data_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package http import ( diff --git a/datasource/null/data.go b/datasource/null/data.go index 3756c6a3e..308e06217 100644 --- a/datasource/null/data.go +++ b/datasource/null/data.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc struct-markdown //go:generate packer-sdc mapstructure-to-hcl2 -type DatasourceOutput,Config package null diff --git a/fix/fixer.go b/fix/fixer.go index 7634a287c..3de4bc1f8 100644 --- a/fix/fixer.go +++ b/fix/fixer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix // A Fixer is something that can perform a fix operation on a template. diff --git a/fix/fixer_amazon_enhanced_networking.go b/fix/fixer_amazon_enhanced_networking.go index dd7133171..708d2f5bc 100644 --- a/fix/fixer_amazon_enhanced_networking.go +++ b/fix/fixer_amazon_enhanced_networking.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_enhanced_networking_test.go b/fix/fixer_amazon_enhanced_networking_test.go index 78b58d582..4abdcc5f4 100644 --- a/fix/fixer_amazon_enhanced_networking_test.go +++ b/fix/fixer_amazon_enhanced_networking_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_private_ip.go b/fix/fixer_amazon_private_ip.go index 7a6c483ff..ee18770b4 100644 --- a/fix/fixer_amazon_private_ip.go +++ b/fix/fixer_amazon_private_ip.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_private_ip_test.go b/fix/fixer_amazon_private_ip_test.go index 55b2104a6..554e2e7ee 100644 --- a/fix/fixer_amazon_private_ip_test.go +++ b/fix/fixer_amazon_private_ip_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_shutdown_behavior.go b/fix/fixer_amazon_shutdown_behavior.go index b73c67e1f..c7e2db0d3 100644 --- a/fix/fixer_amazon_shutdown_behavior.go +++ b/fix/fixer_amazon_shutdown_behavior.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_shutdown_behavior_test.go b/fix/fixer_amazon_shutdown_behavior_test.go index 50718372f..87058ea90 100644 --- a/fix/fixer_amazon_shutdown_behavior_test.go +++ b/fix/fixer_amazon_shutdown_behavior_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_spot_price_product.go b/fix/fixer_amazon_spot_price_product.go index ad0f64815..b701e1d9f 100644 --- a/fix/fixer_amazon_spot_price_product.go +++ b/fix/fixer_amazon_spot_price_product.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_temporary_security_group_cidrs.go b/fix/fixer_amazon_temporary_security_group_cidrs.go index eccfe855e..ffd75eb36 100644 --- a/fix/fixer_amazon_temporary_security_group_cidrs.go +++ b/fix/fixer_amazon_temporary_security_group_cidrs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_amazon_temporary_security_group_cidrs_test.go b/fix/fixer_amazon_temporary_security_group_cidrs_test.go index 1a17e3f18..2ed9f4bb2 100644 --- a/fix/fixer_amazon_temporary_security_group_cidrs_test.go +++ b/fix/fixer_amazon_temporary_security_group_cidrs_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_azure_exclude_from_latest.go b/fix/fixer_azure_exclude_from_latest.go index dad0ed690..210b59f46 100644 --- a/fix/fixer_azure_exclude_from_latest.go +++ b/fix/fixer_azure_exclude_from_latest.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_azure_exclude_from_latest_test.go b/fix/fixer_azure_exclude_from_latest_test.go index 27e10d57f..a3cd70d53 100644 --- a/fix/fixer_azure_exclude_from_latest_test.go +++ b/fix/fixer_azure_exclude_from_latest_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_clean_image_name.go b/fix/fixer_clean_image_name.go index 5ba1a3a3c..423d2e340 100644 --- a/fix/fixer_clean_image_name.go +++ b/fix/fixer_clean_image_name.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_clean_image_name_test.go b/fix/fixer_clean_image_name_test.go index 21799ba5f..385e6f113 100644 --- a/fix/fixer_clean_image_name_test.go +++ b/fix/fixer_clean_image_name_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_comm_config.go b/fix/fixer_comm_config.go index 09781a04a..6f2c49af8 100644 --- a/fix/fixer_comm_config.go +++ b/fix/fixer_comm_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_comm_config_test.go b/fix/fixer_comm_config_test.go index 1d2b7b9f6..52beb052d 100644 --- a/fix/fixer_comm_config_test.go +++ b/fix/fixer_comm_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_createtime.go b/fix/fixer_createtime.go index eda513ffc..0412c4d9a 100644 --- a/fix/fixer_createtime.go +++ b/fix/fixer_createtime.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_createtime_test.go b/fix/fixer_createtime_test.go index ae91c6c22..a73509668 100644 --- a/fix/fixer_createtime_test.go +++ b/fix/fixer_createtime_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_docker_email.go b/fix/fixer_docker_email.go index 17a1a1300..3a5883f2b 100644 --- a/fix/fixer_docker_email.go +++ b/fix/fixer_docker_email.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import "github.com/mitchellh/mapstructure" diff --git a/fix/fixer_galaxy_command.go b/fix/fixer_galaxy_command.go index c819dc69e..f5988d9bc 100644 --- a/fix/fixer_galaxy_command.go +++ b/fix/fixer_galaxy_command.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_galaxy_command_test.go b/fix/fixer_galaxy_command_test.go index c052a10c9..ee067b174 100644 --- a/fix/fixer_galaxy_command_test.go +++ b/fix/fixer_galaxy_command_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_hyperv_cpu_and_ram_naming.go b/fix/fixer_hyperv_cpu_and_ram_naming.go index c4516c020..4983b5cb4 100644 --- a/fix/fixer_hyperv_cpu_and_ram_naming.go +++ b/fix/fixer_hyperv_cpu_and_ram_naming.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_hyperv_deprecations.go b/fix/fixer_hyperv_deprecations.go index 3b9582ff5..12714d9d7 100644 --- a/fix/fixer_hyperv_deprecations.go +++ b/fix/fixer_hyperv_deprecations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_hyperv_deprecations_test.go b/fix/fixer_hyperv_deprecations_test.go index 8c90bff9b..00154e2b9 100644 --- a/fix/fixer_hyperv_deprecations_test.go +++ b/fix/fixer_hyperv_deprecations_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_hyperv_vmxc_typo.go b/fix/fixer_hyperv_vmxc_typo.go index 2063fae40..f9c5d63d9 100644 --- a/fix/fixer_hyperv_vmxc_typo.go +++ b/fix/fixer_hyperv_vmxc_typo.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_hyperv_vmxc_typo_test.go b/fix/fixer_hyperv_vmxc_typo_test.go index dbbea7072..1f7ac625a 100644 --- a/fix/fixer_hyperv_vmxc_typo_test.go +++ b/fix/fixer_hyperv_vmxc_typo_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_iso_checksum_type_and_url.go b/fix/fixer_iso_checksum_type_and_url.go index 07aaf6621..fc50055ac 100644 --- a/fix/fixer_iso_checksum_type_and_url.go +++ b/fix/fixer_iso_checksum_type_and_url.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_iso_checksum_type_and_url_test.go b/fix/fixer_iso_checksum_type_and_url_test.go index 11be8fec6..f3492dc50 100644 --- a/fix/fixer_iso_checksum_type_and_url_test.go +++ b/fix/fixer_iso_checksum_type_and_url_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_iso_md5.go b/fix/fixer_iso_md5.go index 6aa69a7c7..074a0b2ba 100644 --- a/fix/fixer_iso_md5.go +++ b/fix/fixer_iso_md5.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_iso_md5_test.go b/fix/fixer_iso_md5_test.go index 0c0e989b5..fc3965079 100644 --- a/fix/fixer_iso_md5_test.go +++ b/fix/fixer_iso_md5_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_parallels_deprecations.go b/fix/fixer_parallels_deprecations.go index cf8dd001b..36ad9a708 100644 --- a/fix/fixer_parallels_deprecations.go +++ b/fix/fixer_parallels_deprecations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_parallels_deprecations_test.go b/fix/fixer_parallels_deprecations_test.go index 22f78c122..a5fd42538 100644 --- a/fix/fixer_parallels_deprecations_test.go +++ b/fix/fixer_parallels_deprecations_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_parallels_headless.go b/fix/fixer_parallels_headless.go index d1e0d2fc6..164deff3e 100644 --- a/fix/fixer_parallels_headless.go +++ b/fix/fixer_parallels_headless.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_parallels_headless_test.go b/fix/fixer_parallels_headless_test.go index c6c92e981..bc3efbcc0 100644 --- a/fix/fixer_parallels_headless_test.go +++ b/fix/fixer_parallels_headless_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_powershell_escapes.go b/fix/fixer_powershell_escapes.go index 4fa06ff6d..d33d046d6 100644 --- a/fix/fixer_powershell_escapes.go +++ b/fix/fixer_powershell_escapes.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_pp_docker_tag_tags.go b/fix/fixer_pp_docker_tag_tags.go index 1673ec7b7..49e33ebee 100644 --- a/fix/fixer_pp_docker_tag_tags.go +++ b/fix/fixer_pp_docker_tag_tags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_pp_docker_tag_tags_test.go b/fix/fixer_pp_docker_tag_tags_test.go index 150db3dfa..908c0768e 100644 --- a/fix/fixer_pp_docker_tag_tags_test.go +++ b/fix/fixer_pp_docker_tag_tags_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_pp_manifest_filename.go b/fix/fixer_pp_manifest_filename.go index d6ad6a9a4..9f66bc7ad 100644 --- a/fix/fixer_pp_manifest_filename.go +++ b/fix/fixer_pp_manifest_filename.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_pp_manifest_filename_test.go b/fix/fixer_pp_manifest_filename_test.go index ac7d14d6a..ab86324e9 100644 --- a/fix/fixer_pp_manifest_filename_test.go +++ b/fix/fixer_pp_manifest_filename_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_pp_vagrant_override.go b/fix/fixer_pp_vagrant_override.go index fec17f4ba..eee262212 100644 --- a/fix/fixer_pp_vagrant_override.go +++ b/fix/fixer_pp_vagrant_override.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import "github.com/mitchellh/mapstructure" diff --git a/fix/fixer_pp_vagrant_override_test.go b/fix/fixer_pp_vagrant_override_test.go index f58099565..1ba56eb68 100644 --- a/fix/fixer_pp_vagrant_override_test.go +++ b/fix/fixer_pp_vagrant_override_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_proxmox_type.go b/fix/fixer_proxmox_type.go index 93db4a5e8..602e82a94 100644 --- a/fix/fixer_proxmox_type.go +++ b/fix/fixer_proxmox_type.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_proxmox_type_test.go b/fix/fixer_proxmox_type_test.go index c66ab25bb..e0ea378d5 100644 --- a/fix/fixer_proxmox_type_test.go +++ b/fix/fixer_proxmox_type_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_qemu_disk_size.go b/fix/fixer_qemu_disk_size.go index ef6b8459f..7cd538003 100644 --- a/fix/fixer_qemu_disk_size.go +++ b/fix/fixer_qemu_disk_size.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_qemu_disk_size_test.go b/fix/fixer_qemu_disk_size_test.go index 6381dc68d..3d141a519 100644 --- a/fix/fixer_qemu_disk_size_test.go +++ b/fix/fixer_qemu_disk_size_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_qemu_host_port.go b/fix/fixer_qemu_host_port.go index a1cb56453..4cd96b53a 100644 --- a/fix/fixer_qemu_host_port.go +++ b/fix/fixer_qemu_host_port.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_qemu_host_port_test.go b/fix/fixer_qemu_host_port_test.go index e2ec753c5..64aaeddcb 100644 --- a/fix/fixer_qemu_host_port_test.go +++ b/fix/fixer_qemu_host_port_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_scaleway_access_key.go b/fix/fixer_scaleway_access_key.go index cad7ec65b..c7e45484f 100644 --- a/fix/fixer_scaleway_access_key.go +++ b/fix/fixer_scaleway_access_key.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_scaleway_access_key_test.go b/fix/fixer_scaleway_access_key_test.go index 61ff7eed8..365bb4675 100644 --- a/fix/fixer_scaleway_access_key_test.go +++ b/fix/fixer_scaleway_access_key_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_ssh_timeout.go b/fix/fixer_ssh_timeout.go index bb5f4a4e2..fc6751999 100644 --- a/fix/fixer_ssh_timeout.go +++ b/fix/fixer_ssh_timeout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_ssh_timeout_test.go b/fix/fixer_ssh_timeout_test.go index 3c69839d8..558a94d9e 100644 --- a/fix/fixer_ssh_timeout_test.go +++ b/fix/fixer_ssh_timeout_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_sshdisableagent.go b/fix/fixer_sshdisableagent.go index 833bca027..1ed262f22 100644 --- a/fix/fixer_sshdisableagent.go +++ b/fix/fixer_sshdisableagent.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_sshdisableagent_test.go b/fix/fixer_sshdisableagent_test.go index c38f9c581..9fc67bd76 100644 --- a/fix/fixer_sshdisableagent_test.go +++ b/fix/fixer_sshdisableagent_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_sshkeypath.go b/fix/fixer_sshkeypath.go index 9b376261d..48bc8eee1 100644 --- a/fix/fixer_sshkeypath.go +++ b/fix/fixer_sshkeypath.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_sshkeypath_test.go b/fix/fixer_sshkeypath_test.go index 865f8c1de..c95917902 100644 --- a/fix/fixer_sshkeypath_test.go +++ b/fix/fixer_sshkeypath_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_test.go b/fix/fixer_test.go index e6a01fcf5..091084ac7 100644 --- a/fix/fixer_test.go +++ b/fix/fixer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_virtualbox_gaattach.go b/fix/fixer_virtualbox_gaattach.go index 8e2a85e85..23e8c7fdf 100644 --- a/fix/fixer_virtualbox_gaattach.go +++ b/fix/fixer_virtualbox_gaattach.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_virtualbox_gaattach_test.go b/fix/fixer_virtualbox_gaattach_test.go index b88e9325f..83fa00b59 100644 --- a/fix/fixer_virtualbox_gaattach_test.go +++ b/fix/fixer_virtualbox_gaattach_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_virtualbox_rename.go b/fix/fixer_virtualbox_rename.go index 2f118e3fb..a3723f2ed 100644 --- a/fix/fixer_virtualbox_rename.go +++ b/fix/fixer_virtualbox_rename.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_virtualbox_rename_test.go b/fix/fixer_virtualbox_rename_test.go index 355e5276a..fc570f309 100644 --- a/fix/fixer_virtualbox_rename_test.go +++ b/fix/fixer_virtualbox_rename_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vmware_compaction.go b/fix/fixer_vmware_compaction.go index dfb1d1354..906ff4d19 100644 --- a/fix/fixer_vmware_compaction.go +++ b/fix/fixer_vmware_compaction.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vmware_compaction_test.go b/fix/fixer_vmware_compaction_test.go index 25a87e170..bd1077055 100644 --- a/fix/fixer_vmware_compaction_test.go +++ b/fix/fixer_vmware_compaction_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vmware_rename.go b/fix/fixer_vmware_rename.go index 726e8030c..5e7db8a6e 100644 --- a/fix/fixer_vmware_rename.go +++ b/fix/fixer_vmware_rename.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vmware_rename_test.go b/fix/fixer_vmware_rename_test.go index 059b73ad1..6d8710cfb 100644 --- a/fix/fixer_vmware_rename_test.go +++ b/fix/fixer_vmware_rename_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vsphere_network_storage.go b/fix/fixer_vsphere_network_storage.go index 5c04ab1a3..87723a9e9 100644 --- a/fix/fixer_vsphere_network_storage.go +++ b/fix/fixer_vsphere_network_storage.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/fixer_vsphere_network_storage_test.go b/fix/fixer_vsphere_network_storage_test.go index fdc764ad3..54ebb8015 100644 --- a/fix/fixer_vsphere_network_storage_test.go +++ b/fix/fixer_vsphere_network_storage_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix import ( diff --git a/fix/helpers.go b/fix/helpers.go index 6866c12ea..f3812674e 100644 --- a/fix/helpers.go +++ b/fix/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fix // PP is a convenient way to interact with the post-processors within a fixer diff --git a/hcl2template/addrs/doc.go b/hcl2template/addrs/doc.go index 13c300030..9768f453d 100644 --- a/hcl2template/addrs/doc.go +++ b/hcl2template/addrs/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package addrs contains types that represent "addresses", which are // references to specific objects within a Packer configuration. // diff --git a/hcl2template/addrs/input_variable.go b/hcl2template/addrs/input_variable.go index ad4370bb8..e2821e7e5 100644 --- a/hcl2template/addrs/input_variable.go +++ b/hcl2template/addrs/input_variable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs // InputVariable is the address of an input variable. diff --git a/hcl2template/addrs/parse_ref.go b/hcl2template/addrs/parse_ref.go index ee3f238ef..866ced8f4 100644 --- a/hcl2template/addrs/parse_ref.go +++ b/hcl2template/addrs/parse_ref.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs import ( diff --git a/hcl2template/addrs/plugin.go b/hcl2template/addrs/plugin.go index 8fae62620..8c4c3485d 100644 --- a/hcl2template/addrs/plugin.go +++ b/hcl2template/addrs/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs import ( diff --git a/hcl2template/addrs/plugin_test.go b/hcl2template/addrs/plugin_test.go index 191f103fa..491d2221a 100644 --- a/hcl2template/addrs/plugin_test.go +++ b/hcl2template/addrs/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs import ( diff --git a/hcl2template/addrs/referenceable.go b/hcl2template/addrs/referenceable.go index 8caec1241..9b54c5bac 100644 --- a/hcl2template/addrs/referenceable.go +++ b/hcl2template/addrs/referenceable.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package addrs // Referenceable is an interface implemented by all address types that can diff --git a/hcl2template/common_test.go b/hcl2template/common_test.go index 5b1c68fbd..62f937da9 100644 --- a/hcl2template/common_test.go +++ b/hcl2template/common_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/components.go b/hcl2template/components.go index b2063cd38..956a753f3 100644 --- a/hcl2template/components.go +++ b/hcl2template/components.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template // ComponentKind helps enumerate what kind of components exist in this Package. diff --git a/hcl2template/decode.go b/hcl2template/decode.go index fe3de6ac9..137e54eec 100644 --- a/hcl2template/decode.go +++ b/hcl2template/decode.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/docs.go b/hcl2template/docs.go index cce348abd..d1ad307cc 100644 --- a/hcl2template/docs.go +++ b/hcl2template/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package hcl2template defines code to parse hcl2 template files. // // In order to configure a packer builder,provisioner, and post processor. diff --git a/hcl2template/formatter.go b/hcl2template/formatter.go index 700e0c40b..7e1cab56a 100644 --- a/hcl2template/formatter.go +++ b/hcl2template/formatter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/formatter_test.go b/hcl2template/formatter_test.go index 139308882..42051c0a8 100644 --- a/hcl2template/formatter_test.go +++ b/hcl2template/formatter_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/function/Consul.go b/hcl2template/function/Consul.go index ae22404d8..4f51ca41d 100644 --- a/hcl2template/function/Consul.go +++ b/hcl2template/function/Consul.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/aws_secretetkey.go b/hcl2template/function/aws_secretetkey.go index e5bec51b2..50b4fe9ee 100644 --- a/hcl2template/function/aws_secretetkey.go +++ b/hcl2template/function/aws_secretetkey.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/datetime.go b/hcl2template/function/datetime.go index 8f9804ad0..1d807e407 100644 --- a/hcl2template/function/datetime.go +++ b/hcl2template/function/datetime.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/datetime_test.go b/hcl2template/function/datetime_test.go index fca279e84..686564803 100644 --- a/hcl2template/function/datetime_test.go +++ b/hcl2template/function/datetime_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/env.go b/hcl2template/function/env.go index 98eac11cc..aeb632aba 100644 --- a/hcl2template/function/env.go +++ b/hcl2template/function/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/index.go b/hcl2template/function/index.go index 0cb55a747..3c5f73ccd 100644 --- a/hcl2template/function/index.go +++ b/hcl2template/function/index.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/index_test.go b/hcl2template/function/index_test.go index 5695cde7d..d70511ad5 100644 --- a/hcl2template/function/index_test.go +++ b/hcl2template/function/index_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/length.go b/hcl2template/function/length.go index c1a1e8862..90ab7997e 100644 --- a/hcl2template/function/length.go +++ b/hcl2template/function/length.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/length_test.go b/hcl2template/function/length_test.go index 5b217a00a..2c6f10c49 100644 --- a/hcl2template/function/length_test.go +++ b/hcl2template/function/length_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/templatefile.go b/hcl2template/function/templatefile.go index d7edf23b2..eee009219 100644 --- a/hcl2template/function/templatefile.go +++ b/hcl2template/function/templatefile.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/templatefile_test.go b/hcl2template/function/templatefile_test.go index 658d2f368..a4536b59c 100644 --- a/hcl2template/function/templatefile_test.go +++ b/hcl2template/function/templatefile_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/function/vault.go b/hcl2template/function/vault.go index a62fa33cc..4aa49da67 100644 --- a/hcl2template/function/vault.go +++ b/hcl2template/function/vault.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package function import ( diff --git a/hcl2template/functions.go b/hcl2template/functions.go index 33da10257..5876acb0d 100644 --- a/hcl2template/functions.go +++ b/hcl2template/functions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/internal/mock.go b/hcl2template/internal/mock.go index 2939b3b94..86d5b0e0e 100644 --- a/hcl2template/internal/mock.go +++ b/hcl2template/internal/mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type MockConfig,NestedMockConfig,MockTag package hcl2template diff --git a/hcl2template/parser.go b/hcl2template/parser.go index d2c5a85ec..2246131fa 100644 --- a/hcl2template/parser.go +++ b/hcl2template/parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/plugin.go b/hcl2template/plugin.go index fb807dadb..bd1080b83 100644 --- a/hcl2template/plugin.go +++ b/hcl2template/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/repl/format.go b/hcl2template/repl/format.go index e302b093e..8e596e4be 100644 --- a/hcl2template/repl/format.go +++ b/hcl2template/repl/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package repl import ( diff --git a/hcl2template/repl/repl.go b/hcl2template/repl/repl.go index d6aed8b46..7a698f87f 100644 --- a/hcl2template/repl/repl.go +++ b/hcl2template/repl/repl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package repl provides the structs and functions necessary to run REPL for // HCL2. The REPL allows experimentation of HCL2 interpolations without having // to run a HCL2 configuration. diff --git a/hcl2template/shim/mock.go b/hcl2template/shim/mock.go index 5ed9ce6b5..adeda84dd 100644 --- a/hcl2template/shim/mock.go +++ b/hcl2template/shim/mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type MockConfig,NestedMockConfig,MockTag package hcl2shim diff --git a/hcl2template/shim/values.go b/hcl2template/shim/values.go index 600aaedcb..88580f1f2 100644 --- a/hcl2template/shim/values.go +++ b/hcl2template/shim/values.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2shim import ( diff --git a/hcl2template/shim/values_test.go b/hcl2template/shim/values_test.go index 45d4d6c4f..46e154002 100644 --- a/hcl2template/shim/values_test.go +++ b/hcl2template/shim/values_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2shim import ( diff --git a/hcl2template/types.build.from.go b/hcl2template/types.build.from.go index b84b6ffc6..9661fa167 100644 --- a/hcl2template/types.build.from.go +++ b/hcl2template/types.build.from.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.go b/hcl2template/types.build.go index 73ae957d3..2ab6aa718 100644 --- a/hcl2template/types.build.go +++ b/hcl2template/types.build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.hcp_packer_registry.go b/hcl2template/types.build.hcp_packer_registry.go index e2c76f342..6d1b99f2e 100644 --- a/hcl2template/types.build.hcp_packer_registry.go +++ b/hcl2template/types.build.hcp_packer_registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.hcp_packer_registry_test.go b/hcl2template/types.build.hcp_packer_registry_test.go index 288099931..18c8ca3fa 100644 --- a/hcl2template/types.build.hcp_packer_registry_test.go +++ b/hcl2template/types.build.hcp_packer_registry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.post-processor.go b/hcl2template/types.build.post-processor.go index da2f6a6a6..1216f32eb 100644 --- a/hcl2template/types.build.post-processor.go +++ b/hcl2template/types.build.post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.provisioners.go b/hcl2template/types.build.provisioners.go index 2c0659be0..8459f1be9 100644 --- a/hcl2template/types.build.provisioners.go +++ b/hcl2template/types.build.provisioners.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build.provisioners_test.go b/hcl2template/types.build.provisioners_test.go index 0dae85a71..e19570dff 100644 --- a/hcl2template/types.build.provisioners_test.go +++ b/hcl2template/types.build.provisioners_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.build_test.go b/hcl2template/types.build_test.go index 17cd80861..376646c63 100644 --- a/hcl2template/types.build_test.go +++ b/hcl2template/types.build_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.datasource.go b/hcl2template/types.datasource.go index 3deab8c71..9ae5e995e 100644 --- a/hcl2template/types.datasource.go +++ b/hcl2template/types.datasource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.datasource_test.go b/hcl2template/types.datasource_test.go index 26c8c3c45..b22f438d6 100644 --- a/hcl2template/types.datasource_test.go +++ b/hcl2template/types.datasource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.hcl_post-processor.go b/hcl2template/types.hcl_post-processor.go index 21627e4d9..26974aace 100644 --- a/hcl2template/types.hcl_post-processor.go +++ b/hcl2template/types.hcl_post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.hcl_provisioner.go b/hcl2template/types.hcl_provisioner.go index 61ba775ab..022a2fd58 100644 --- a/hcl2template/types.hcl_provisioner.go +++ b/hcl2template/types.hcl_provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.hcl_ref.go b/hcl2template/types.hcl_ref.go index 1c30e1a18..091a20436 100644 --- a/hcl2template/types.hcl_ref.go +++ b/hcl2template/types.hcl_ref.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.packer_config.go b/hcl2template/types.packer_config.go index 3ac4b0c51..b3802ea97 100644 --- a/hcl2template/types.packer_config.go +++ b/hcl2template/types.packer_config.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.packer_config_test.go b/hcl2template/types.packer_config_test.go index 2ce476c0f..d8881c184 100644 --- a/hcl2template/types.packer_config_test.go +++ b/hcl2template/types.packer_config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.required_plugins.go b/hcl2template/types.required_plugins.go index f1309f09d..01c090428 100644 --- a/hcl2template/types.required_plugins.go +++ b/hcl2template/types.required_plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.required_plugins_test.go b/hcl2template/types.required_plugins_test.go index fe0869198..3a1fabd4b 100644 --- a/hcl2template/types.required_plugins_test.go +++ b/hcl2template/types.required_plugins_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.source.go b/hcl2template/types.source.go index 6c8d7bd9c..49b0316f6 100644 --- a/hcl2template/types.source.go +++ b/hcl2template/types.source.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.source_test.go b/hcl2template/types.source_test.go index e19d921da..efdddea5a 100644 --- a/hcl2template/types.source_test.go +++ b/hcl2template/types.source_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.variables.go b/hcl2template/types.variables.go index 77928747c..9111ced9a 100644 --- a/hcl2template/types.variables.go +++ b/hcl2template/types.variables.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/types.variables_test.go b/hcl2template/types.variables_test.go index 607862c90..d0691a091 100644 --- a/hcl2template/types.variables_test.go +++ b/hcl2template/types.variables_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/utils.go b/hcl2template/utils.go index a8bfffbb8..b74093b23 100644 --- a/hcl2template/utils.go +++ b/hcl2template/utils.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/version.go b/hcl2template/version.go index 4a9bb992f..920cff510 100644 --- a/hcl2template/version.go +++ b/hcl2template/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/hcl2template/version_required.go b/hcl2template/version_required.go index 10d50bb82..c418eda55 100644 --- a/hcl2template/version_required.go +++ b/hcl2template/version_required.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hcl2template import ( diff --git a/helper/wrappedreadline/wrappedreadline.go b/helper/wrappedreadline/wrappedreadline.go index 55972c82a..6641cb896 100644 --- a/helper/wrappedreadline/wrappedreadline.go +++ b/helper/wrappedreadline/wrappedreadline.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // STOLEN SHAMELESSLY FROM THE TERRAFORM REPO BECAUSE VENDORING OUT // WRAPPEDREADLINE AND WRAPPEDSTREAMS FELT LIKE TOO MUCH WORK. // diff --git a/helper/wrappedreadline/wrappedreadline_solaris.go b/helper/wrappedreadline/wrappedreadline_solaris.go index 26c4e6c7b..fb2a9388e 100644 --- a/helper/wrappedreadline/wrappedreadline_solaris.go +++ b/helper/wrappedreadline/wrappedreadline_solaris.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package wrappedreadline // getWidth impl for Solaris diff --git a/helper/wrappedreadline/wrappedreadline_unix.go b/helper/wrappedreadline/wrappedreadline_unix.go index 8d2e6d602..ff621e7da 100644 --- a/helper/wrappedreadline/wrappedreadline_unix.go +++ b/helper/wrappedreadline/wrappedreadline_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build darwin || dragonfly || freebsd || (linux && !appengine) || netbsd || openbsd // +build darwin dragonfly freebsd linux,!appengine netbsd openbsd diff --git a/helper/wrappedreadline/wrappedreadline_windows.go b/helper/wrappedreadline/wrappedreadline_windows.go index b06a60bf8..d3d361579 100644 --- a/helper/wrappedreadline/wrappedreadline_windows.go +++ b/helper/wrappedreadline/wrappedreadline_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/helper/wrappedstreams/streams.go b/helper/wrappedstreams/streams.go index b3a67c609..80d1e66b2 100644 --- a/helper/wrappedstreams/streams.go +++ b/helper/wrappedstreams/streams.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // STOLEN SHAMELESSLY FROM THE TERRAFORM REPO BECAUSE VENDORING OUT // WRAPPEDREADLINE AND WRAPPEDSTREAMS FELT LIKE TOO MUCH WORK. // diff --git a/helper/wrappedstreams/streams_other.go b/helper/wrappedstreams/streams_other.go index 49dc0157c..34ecf76d0 100644 --- a/helper/wrappedstreams/streams_other.go +++ b/helper/wrappedstreams/streams_other.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !windows // +build !windows diff --git a/helper/wrappedstreams/streams_windows.go b/helper/wrappedstreams/streams_windows.go index 0508cc8db..18489fdc2 100644 --- a/helper/wrappedstreams/streams_windows.go +++ b/helper/wrappedstreams/streams_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build windows // +build windows diff --git a/internal/hcp/api/client.go b/internal/hcp/api/client.go index f9a97c5ef..a379af61b 100644 --- a/internal/hcp/api/client.go +++ b/internal/hcp/api/client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package api provides access to the HCP Packer Registry API. package api diff --git a/internal/hcp/api/errors.go b/internal/hcp/api/errors.go index 491bf452f..32a5708cc 100644 --- a/internal/hcp/api/errors.go +++ b/internal/hcp/api/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/internal/hcp/api/mock_service.go b/internal/hcp/api/mock_service.go index 8ab149f3b..9bd8e706e 100644 --- a/internal/hcp/api/mock_service.go +++ b/internal/hcp/api/mock_service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/internal/hcp/api/service.go b/internal/hcp/api/service.go index 41a20ccc2..a0ee9f8ce 100644 --- a/internal/hcp/api/service.go +++ b/internal/hcp/api/service.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package api import ( diff --git a/internal/hcp/env/env.go b/internal/hcp/env/env.go index 7d9e9d779..c07d9cac4 100644 --- a/internal/hcp/env/env.go +++ b/internal/hcp/env/env.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package env provides HCP Packer environment variables. package env diff --git a/internal/hcp/env/env_test.go b/internal/hcp/env/env_test.go index c2fd27598..1de73f591 100644 --- a/internal/hcp/env/env_test.go +++ b/internal/hcp/env/env_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package env import ( diff --git a/internal/hcp/env/variables.go b/internal/hcp/env/variables.go index 1d19fbcec..0fc654494 100644 --- a/internal/hcp/env/variables.go +++ b/internal/hcp/env/variables.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package env const ( diff --git a/internal/hcp/registry/artifact.go b/internal/hcp/registry/artifact.go index e225d16bb..a0b0049cc 100644 --- a/internal/hcp/registry/artifact.go +++ b/internal/hcp/registry/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/errors.go b/internal/hcp/registry/errors.go index 1e1921d62..a93f960f9 100644 --- a/internal/hcp/registry/errors.go +++ b/internal/hcp/registry/errors.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry // ErrBuildAlreadyDone is the error returned by an HCP handler when a build cannot be started since it's already marked as DONE. diff --git a/internal/hcp/registry/hcl.go b/internal/hcp/registry/hcl.go index f07f4878d..64c57a517 100644 --- a/internal/hcp/registry/hcl.go +++ b/internal/hcp/registry/hcl.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/hcp.go b/internal/hcp/registry/hcp.go index aacb56466..838350b76 100644 --- a/internal/hcp/registry/hcp.go +++ b/internal/hcp/registry/hcp.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/json.go b/internal/hcp/registry/json.go index aa44bc011..bb0bba146 100644 --- a/internal/hcp/registry/json.go +++ b/internal/hcp/registry/json.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/null_registry.go b/internal/hcp/registry/null_registry.go index 103db2764..5aee3e6bc 100644 --- a/internal/hcp/registry/null_registry.go +++ b/internal/hcp/registry/null_registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/registry.go b/internal/hcp/registry/registry.go index 487738abc..b095e14ea 100644 --- a/internal/hcp/registry/registry.go +++ b/internal/hcp/registry/registry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package registry provides access to the HCP registry. package registry diff --git a/internal/hcp/registry/types.bucket.go b/internal/hcp/registry/types.bucket.go index 869398a24..7e548643a 100644 --- a/internal/hcp/registry/types.bucket.go +++ b/internal/hcp/registry/types.bucket.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/types.bucket_service_test.go b/internal/hcp/registry/types.bucket_service_test.go index 463feb59b..5fa28ac4e 100644 --- a/internal/hcp/registry/types.bucket_service_test.go +++ b/internal/hcp/registry/types.bucket_service_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/types.bucket_test.go b/internal/hcp/registry/types.bucket_test.go index d4cb7b1ac..30f73dec5 100644 --- a/internal/hcp/registry/types.bucket_test.go +++ b/internal/hcp/registry/types.bucket_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/types.builds.go b/internal/hcp/registry/types.builds.go index 52c176fef..9245a9d31 100644 --- a/internal/hcp/registry/types.builds.go +++ b/internal/hcp/registry/types.builds.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/types.iterations.go b/internal/hcp/registry/types.iterations.go index ef8647064..8997491c2 100644 --- a/internal/hcp/registry/types.iterations.go +++ b/internal/hcp/registry/types.iterations.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/internal/hcp/registry/types.iterations_test.go b/internal/hcp/registry/types.iterations_test.go index b78229454..fe7132d6b 100644 --- a/internal/hcp/registry/types.iterations_test.go +++ b/internal/hcp/registry/types.iterations_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package registry import ( diff --git a/log.go b/log.go index ff12c94c0..2c15a700a 100644 --- a/log.go +++ b/log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/main.go b/main.go index 060bf1227..728f56860 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // This is the main package for the `packer` application. //go:generate go run ./scripts/generate-plugins.go diff --git a/main_test.go b/main_test.go index f4d44bbf1..69be0aca8 100644 --- a/main_test.go +++ b/main_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/packer/build.go b/packer/build.go index e5ff54b72..688692c4c 100644 --- a/packer/build.go +++ b/packer/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/build_test.go b/packer/build_test.go index 9b4812b35..4ae5f2537 100644 --- a/packer/build_test.go +++ b/packer/build_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/builder_test.go b/packer/builder_test.go index d7c610c15..127655278 100644 --- a/packer/builder_test.go +++ b/packer/builder_test.go @@ -1 +1,4 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer diff --git a/packer/client_test.go b/packer/client_test.go index 9610cedce..f9a1483ff 100644 --- a/packer/client_test.go +++ b/packer/client_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_builder.go b/packer/cmd_builder.go index 7371cb43c..99a0bc6f9 100644 --- a/packer/cmd_builder.go +++ b/packer/cmd_builder.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_builder_test.go b/packer/cmd_builder_test.go index 7ab9c6513..dfc5d15fb 100644 --- a/packer/cmd_builder_test.go +++ b/packer/cmd_builder_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_datasource.go b/packer/cmd_datasource.go index 399ef0368..4e8b32561 100644 --- a/packer/cmd_datasource.go +++ b/packer/cmd_datasource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_datasource_test.go b/packer/cmd_datasource_test.go index 590d0674e..c174c8ee0 100644 --- a/packer/cmd_datasource_test.go +++ b/packer/cmd_datasource_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_hook.go b/packer/cmd_hook.go index 58e2caeae..ace3d2c03 100644 --- a/packer/cmd_hook.go +++ b/packer/cmd_hook.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_hook_test.go b/packer/cmd_hook_test.go index a3c8ba364..f2a1f4d92 100644 --- a/packer/cmd_hook_test.go +++ b/packer/cmd_hook_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_post_processor.go b/packer/cmd_post_processor.go index e75e5c3e3..c686a3937 100644 --- a/packer/cmd_post_processor.go +++ b/packer/cmd_post_processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_post_processor_test.go b/packer/cmd_post_processor_test.go index 4d327d1fc..ce70a8bf1 100644 --- a/packer/cmd_post_processor_test.go +++ b/packer/cmd_post_processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_provisioner.go b/packer/cmd_provisioner.go index a1c7003be..965ad8958 100644 --- a/packer/cmd_provisioner.go +++ b/packer/cmd_provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/cmd_provisioner_test.go b/packer/cmd_provisioner_test.go index acf81f1be..5bb86942a 100644 --- a/packer/cmd_provisioner_test.go +++ b/packer/cmd_provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/core.go b/packer/core.go index f768d00c6..4d62cce6b 100644 --- a/packer/core.go +++ b/packer/core.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/core_test.go b/packer/core_test.go index 8bea78ab6..e46f62e6b 100644 --- a/packer/core_test.go +++ b/packer/core_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/maps.go b/packer/maps.go index 41727279d..6fec5c679 100644 --- a/packer/maps.go +++ b/packer/maps.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/packer_test.go b/packer/packer_test.go index ec536e2c3..bc7590339 100644 --- a/packer/packer_test.go +++ b/packer/packer_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/plugin-getter/checksum.go b/packer/plugin-getter/checksum.go index 9d1fcdfbc..507a17e65 100644 --- a/packer/plugin-getter/checksum.go +++ b/packer/plugin-getter/checksum.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugingetter import ( diff --git a/packer/plugin-getter/docs.go b/packer/plugin-getter/docs.go index 59f8145c8..6c8cfba37 100644 --- a/packer/plugin-getter/docs.go +++ b/packer/plugin-getter/docs.go @@ -1,2 +1,5 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package plugingetter defines means to download and install plugins. package plugingetter diff --git a/packer/plugin-getter/github/docs.go b/packer/plugin-getter/github/docs.go index 868b074eb..9c189dfd3 100644 --- a/packer/plugin-getter/github/docs.go +++ b/packer/plugin-getter/github/docs.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package github defines a Github getter. package github diff --git a/packer/plugin-getter/github/getter.go b/packer/plugin-getter/github/getter.go index 229ece1b0..c094a33e3 100644 --- a/packer/plugin-getter/github/getter.go +++ b/packer/plugin-getter/github/getter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package github import ( diff --git a/packer/plugin-getter/plugins.go b/packer/plugin-getter/plugins.go index a94823692..2ef5d80f9 100644 --- a/packer/plugin-getter/plugins.go +++ b/packer/plugin-getter/plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugingetter import ( diff --git a/packer/plugin-getter/plugins_test.go b/packer/plugin-getter/plugins_test.go index 1e2c5dfde..3105fb1e6 100644 --- a/packer/plugin-getter/plugins_test.go +++ b/packer/plugin-getter/plugins_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package plugingetter import ( diff --git a/packer/plugin.go b/packer/plugin.go index f69803a70..1b64482a8 100644 --- a/packer/plugin.go +++ b/packer/plugin.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/plugin_client.go b/packer/plugin_client.go index 24102aff5..f1d127497 100644 --- a/packer/plugin_client.go +++ b/packer/plugin_client.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/plugin_discover_test.go b/packer/plugin_discover_test.go index b75053ea6..91e8ba6b3 100644 --- a/packer/plugin_discover_test.go +++ b/packer/plugin_discover_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/plugin_folders.go b/packer/plugin_folders.go index 6b04ff2ee..07e74d191 100644 --- a/packer/plugin_folders.go +++ b/packer/plugin_folders.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/plugin_test.go b/packer/plugin_test.go index 1972a10d8..099d9cf6c 100644 --- a/packer/plugin_test.go +++ b/packer/plugin_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/post_processor_mock.go b/packer/post_processor_mock.go index 20d36f87b..b6156e28c 100644 --- a/packer/post_processor_mock.go +++ b/packer/post_processor_mock.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type MockPostProcessor package packer diff --git a/packer/progressbar.go b/packer/progressbar.go index a6e7a3b08..c7e68f7c2 100644 --- a/packer/progressbar.go +++ b/packer/progressbar.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !solaris // +build !solaris diff --git a/packer/progressbar_solaris.go b/packer/progressbar_solaris.go index 1f8871680..cfc0266f2 100644 --- a/packer/progressbar_solaris.go +++ b/packer/progressbar_solaris.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/progressbar_test.go b/packer/progressbar_test.go index 40928d273..a50049cf9 100644 --- a/packer/progressbar_test.go +++ b/packer/progressbar_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/provisioner.go b/packer/provisioner.go index 8d8c54a9b..66d61d9fb 100644 --- a/packer/provisioner.go +++ b/packer/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/provisioner_test.go b/packer/provisioner_test.go index 4fad60b23..d5e191038 100644 --- a/packer/provisioner_test.go +++ b/packer/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/provisioner_timeout.go b/packer/provisioner_timeout.go index 627333e8b..c7407130c 100644 --- a/packer/provisioner_timeout.go +++ b/packer/provisioner_timeout.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/run_interfaces.go b/packer/run_interfaces.go index 418da184c..5bf115152 100644 --- a/packer/run_interfaces.go +++ b/packer/run_interfaces.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/telemetry.go b/packer/telemetry.go index 92711d6a3..2dd7a6f2b 100644 --- a/packer/telemetry.go +++ b/packer/telemetry.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/telemetry_test.go b/packer/telemetry_test.go index c4192f61f..4d1dee3e7 100644 --- a/packer/telemetry_test.go +++ b/packer/telemetry_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/testing.go b/packer/testing.go index dcdcf2a30..0b2449593 100644 --- a/packer/testing.go +++ b/packer/testing.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/ui.go b/packer/ui.go index 1c6033ef4..dac568920 100644 --- a/packer/ui.go +++ b/packer/ui.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/packer/ui_test.go b/packer/ui_test.go index 974c09cf2..1d15cb4ea 100644 --- a/packer/ui_test.go +++ b/packer/ui_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package packer import ( diff --git a/panic.go b/panic.go index 5d58c5685..6f6096453 100644 --- a/panic.go +++ b/panic.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/post-processor/artifice/artifact.go b/post-processor/artifice/artifact.go index de55e46e6..4f481b2be 100644 --- a/post-processor/artifice/artifact.go +++ b/post-processor/artifice/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package artifice import ( diff --git a/post-processor/artifice/post-processor.go b/post-processor/artifice/post-processor.go index 71cc7339a..334d8531b 100644 --- a/post-processor/artifice/post-processor.go +++ b/post-processor/artifice/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package artifice diff --git a/post-processor/artifice/version/version.go b/post-processor/artifice/version/version.go index 85e9772b6..b426efb50 100644 --- a/post-processor/artifice/version/version.go +++ b/post-processor/artifice/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/post-processor/checksum/artifact.go b/post-processor/checksum/artifact.go index 78360bb85..eb1eeeeec 100644 --- a/post-processor/checksum/artifact.go +++ b/post-processor/checksum/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checksum import ( diff --git a/post-processor/checksum/post-processor.go b/post-processor/checksum/post-processor.go index 81d2d85a1..28b107cd8 100644 --- a/post-processor/checksum/post-processor.go +++ b/post-processor/checksum/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package checksum diff --git a/post-processor/checksum/post-processor_test.go b/post-processor/checksum/post-processor_test.go index 8c388e3ac..97ab201f7 100644 --- a/post-processor/checksum/post-processor_test.go +++ b/post-processor/checksum/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package checksum import ( diff --git a/post-processor/checksum/version/version.go b/post-processor/checksum/version/version.go index be8fc4ac1..74332d823 100644 --- a/post-processor/checksum/version/version.go +++ b/post-processor/checksum/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/post-processor/compress/artifact.go b/post-processor/compress/artifact.go index 9bd89b213..20c7ef7d0 100644 --- a/post-processor/compress/artifact.go +++ b/post-processor/compress/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package compress import ( diff --git a/post-processor/compress/artifact_test.go b/post-processor/compress/artifact_test.go index cba4ecb51..d0c1da8ca 100644 --- a/post-processor/compress/artifact_test.go +++ b/post-processor/compress/artifact_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package compress import ( diff --git a/post-processor/compress/benchmark.go b/post-processor/compress/benchmark.go index f21b7a18d..f853c8510 100644 --- a/post-processor/compress/benchmark.go +++ b/post-processor/compress/benchmark.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build ignore // +build ignore diff --git a/post-processor/compress/post-processor.go b/post-processor/compress/post-processor.go index 8214bce0c..9d2a32e57 100644 --- a/post-processor/compress/post-processor.go +++ b/post-processor/compress/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package compress diff --git a/post-processor/compress/post-processor_test.go b/post-processor/compress/post-processor_test.go index e8f9d0302..f91a1178f 100644 --- a/post-processor/compress/post-processor_test.go +++ b/post-processor/compress/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package compress import ( diff --git a/post-processor/compress/tar_fix.go b/post-processor/compress/tar_fix.go index d565cca2a..ad58cb18f 100644 --- a/post-processor/compress/tar_fix.go +++ b/post-processor/compress/tar_fix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !go1.10 // +build !go1.10 diff --git a/post-processor/compress/tar_fix_go110.go b/post-processor/compress/tar_fix_go110.go index 72c2c46c1..5eac3dea1 100644 --- a/post-processor/compress/tar_fix_go110.go +++ b/post-processor/compress/tar_fix_go110.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build go1.10 // +build go1.10 diff --git a/post-processor/compress/version/version.go b/post-processor/compress/version/version.go index 08eb1da41..639290a83 100644 --- a/post-processor/compress/version/version.go +++ b/post-processor/compress/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/post-processor/manifest/artifact.go b/post-processor/manifest/artifact.go index 61f11bb85..b70c7dece 100644 --- a/post-processor/manifest/artifact.go +++ b/post-processor/manifest/artifact.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package manifest import "fmt" diff --git a/post-processor/manifest/post-processor.go b/post-processor/manifest/post-processor.go index 8efc1f20f..f911f734b 100644 --- a/post-processor/manifest/post-processor.go +++ b/post-processor/manifest/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config //go:generate packer-sdc struct-markdown diff --git a/post-processor/manifest/version/version.go b/post-processor/manifest/version/version.go index a4ded4309..20a552315 100644 --- a/post-processor/manifest/version/version.go +++ b/post-processor/manifest/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/post-processor/shell-local/post-processor.go b/post-processor/shell-local/post-processor.go index 8748e16ca..334081e59 100644 --- a/post-processor/shell-local/post-processor.go +++ b/post-processor/shell-local/post-processor.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell_local import ( diff --git a/post-processor/shell-local/post-processor_test.go b/post-processor/shell-local/post-processor_test.go index 4007584cd..eb8481772 100644 --- a/post-processor/shell-local/post-processor_test.go +++ b/post-processor/shell-local/post-processor_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell_local import ( diff --git a/post-processor/shell-local/version/version.go b/post-processor/shell-local/version/version.go index 53f0562e8..1d0273790 100644 --- a/post-processor/shell-local/version/version.go +++ b/post-processor/shell-local/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/breakpoint/provisioner.go b/provisioner/breakpoint/provisioner.go index a708a67b1..fc833fb47 100644 --- a/provisioner/breakpoint/provisioner.go +++ b/provisioner/breakpoint/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package breakpoint diff --git a/provisioner/breakpoint/version/version.go b/provisioner/breakpoint/version/version.go index 48a982805..008af9565 100644 --- a/provisioner/breakpoint/version/version.go +++ b/provisioner/breakpoint/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/file/provisioner.go b/provisioner/file/provisioner.go index 369eec742..84e9c3744 100644 --- a/provisioner/file/provisioner.go +++ b/provisioner/file/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config //go:generate packer-sdc struct-markdown diff --git a/provisioner/file/provisioner_test.go b/provisioner/file/provisioner_test.go index a8cb9de5b..e3ecd7294 100644 --- a/provisioner/file/provisioner_test.go +++ b/provisioner/file/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package file import ( diff --git a/provisioner/file/version/version.go b/provisioner/file/version/version.go index d524a335c..e5b792346 100644 --- a/provisioner/file/version/version.go +++ b/provisioner/file/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/powershell/execution_policy.go b/provisioner/powershell/execution_policy.go index c79b2f72c..94463db2b 100644 --- a/provisioner/powershell/execution_policy.go +++ b/provisioner/powershell/execution_policy.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate enumer -transform snake -trimprefix ExecutionPolicy -type ExecutionPolicy package powershell diff --git a/provisioner/powershell/execution_policy_test.go b/provisioner/powershell/execution_policy_test.go index ae8680c67..8b82c97f2 100644 --- a/provisioner/powershell/execution_policy_test.go +++ b/provisioner/powershell/execution_policy_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package powershell import ( diff --git a/provisioner/powershell/provisioner.go b/provisioner/powershell/provisioner.go index 396eafc21..65ed16d1b 100644 --- a/provisioner/powershell/provisioner.go +++ b/provisioner/powershell/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config // This package implements a provisioner for Packer that executes powershell diff --git a/provisioner/powershell/provisioner_acc_test.go b/provisioner/powershell/provisioner_acc_test.go index fb0be9a80..379b14f9b 100644 --- a/provisioner/powershell/provisioner_acc_test.go +++ b/provisioner/powershell/provisioner_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package powershell_test import ( diff --git a/provisioner/powershell/provisioner_test.go b/provisioner/powershell/provisioner_test.go index ac0b65610..d94a56fa2 100644 --- a/provisioner/powershell/provisioner_test.go +++ b/provisioner/powershell/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package powershell import ( diff --git a/provisioner/powershell/version/version.go b/provisioner/powershell/version/version.go index 2f89c8740..eb2cc7e0d 100644 --- a/provisioner/powershell/version/version.go +++ b/provisioner/powershell/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/shell-local/provisioner.go b/provisioner/shell-local/provisioner.go index e041278b6..d051b3612 100644 --- a/provisioner/shell-local/provisioner.go +++ b/provisioner/shell-local/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/shell-local/provisioner_acc_test.go b/provisioner/shell-local/provisioner_acc_test.go index fd0f390ae..f53990d0d 100644 --- a/provisioner/shell-local/provisioner_acc_test.go +++ b/provisioner/shell-local/provisioner_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell_test import ( diff --git a/provisioner/shell-local/provisioner_test.go b/provisioner/shell-local/provisioner_test.go index 7473e046d..ac7262b61 100644 --- a/provisioner/shell-local/provisioner_test.go +++ b/provisioner/shell-local/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/shell-local/version/version.go b/provisioner/shell-local/version/version.go index b26a6eb0a..205aea7cc 100644 --- a/provisioner/shell-local/version/version.go +++ b/provisioner/shell-local/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/shell/provisioner.go b/provisioner/shell/provisioner.go index 62fc3c6cf..cc1e39999 100644 --- a/provisioner/shell/provisioner.go +++ b/provisioner/shell/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config // This package implements a provisioner for Packer that executes diff --git a/provisioner/shell/provisioner_acc_test.go b/provisioner/shell/provisioner_acc_test.go index 7dc956367..8ffc58b8d 100644 --- a/provisioner/shell/provisioner_acc_test.go +++ b/provisioner/shell/provisioner_acc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell_test import ( diff --git a/provisioner/shell/provisioner_test.go b/provisioner/shell/provisioner_test.go index 9cdd5459a..73a4ac248 100644 --- a/provisioner/shell/provisioner_test.go +++ b/provisioner/shell/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/shell/unix_reader.go b/provisioner/shell/unix_reader.go index 837ecdeae..dc74647b2 100644 --- a/provisioner/shell/unix_reader.go +++ b/provisioner/shell/unix_reader.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/shell/unix_reader_test.go b/provisioner/shell/unix_reader_test.go index 4aa1f9ea9..96c470cc1 100644 --- a/provisioner/shell/unix_reader_test.go +++ b/provisioner/shell/unix_reader_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/shell/version/version.go b/provisioner/shell/version/version.go index 53fb36b1a..f192bb373 100644 --- a/provisioner/shell/version/version.go +++ b/provisioner/shell/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/sleep/provisioner.go b/provisioner/sleep/provisioner.go index 20955fe8a..8dfb4ce1f 100644 --- a/provisioner/sleep/provisioner.go +++ b/provisioner/sleep/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Provisioner package sleep diff --git a/provisioner/sleep/provisioner_test.go b/provisioner/sleep/provisioner_test.go index 2ed66ff50..315849e66 100644 --- a/provisioner/sleep/provisioner_test.go +++ b/provisioner/sleep/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package sleep import ( diff --git a/provisioner/sleep/version/version.go b/provisioner/sleep/version/version.go index cf38b8686..bdad4975e 100644 --- a/provisioner/sleep/version/version.go +++ b/provisioner/sleep/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/windows-restart/provisioner.go b/provisioner/windows-restart/provisioner.go index c98087063..8aaa3598c 100644 --- a/provisioner/windows-restart/provisioner.go +++ b/provisioner/windows-restart/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config package restart diff --git a/provisioner/windows-restart/provisioner_test.go b/provisioner/windows-restart/provisioner_test.go index 34977aba4..bc68f1673 100644 --- a/provisioner/windows-restart/provisioner_test.go +++ b/provisioner/windows-restart/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package restart import ( diff --git a/provisioner/windows-restart/version/version.go b/provisioner/windows-restart/version/version.go index e20c9ddc1..5376f9e31 100644 --- a/provisioner/windows-restart/version/version.go +++ b/provisioner/windows-restart/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/provisioner/windows-shell/provisioner.go b/provisioner/windows-shell/provisioner.go index 0e21c6cb9..ab263d359 100644 --- a/provisioner/windows-shell/provisioner.go +++ b/provisioner/windows-shell/provisioner.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:generate packer-sdc mapstructure-to-hcl2 -type Config // This package implements a provisioner for Packer that executes diff --git a/provisioner/windows-shell/provisioner_test.go b/provisioner/windows-shell/provisioner_test.go index d75ff861a..e01af9e7b 100644 --- a/provisioner/windows-shell/provisioner_test.go +++ b/provisioner/windows-shell/provisioner_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package shell import ( diff --git a/provisioner/windows-shell/version/version.go b/provisioner/windows-shell/version/version.go index 70d61de83..18ad34fe0 100644 --- a/provisioner/windows-shell/version/version.go +++ b/provisioner/windows-shell/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import ( diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 79bda1696..4f1abd3a1 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + <# .Synopsis Build script for Packer. diff --git a/scripts/build.sh b/scripts/build.sh index b72be9038..8b65f50b7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + # This script builds the application from source for multiple platforms. # Determine the arch/os combos we're building for diff --git a/scripts/codesign_example.sh b/scripts/codesign_example.sh index aa68169d0..2e1a16984 100755 --- a/scripts/codesign_example.sh +++ b/scripts/codesign_example.sh @@ -1,4 +1,7 @@ #! /usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -euo pipefail # first makes some assertions about the environment and set some shared diff --git a/scripts/dist.sh b/scripts/dist.sh index 1cd42e7fb..113af57ba 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -e # Get the parent directory of where this script is. diff --git a/scripts/generate-plugins.go b/scripts/generate-plugins.go index d2e69c5af..35f83c2d3 100755 --- a/scripts/generate-plugins.go +++ b/scripts/generate-plugins.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Generate Plugins is a small program that updates the lists of plugins in // command/plugin.go so they will be compiled into the main packer binary. // diff --git a/scripts/off_gopath.sh b/scripts/off_gopath.sh index ead92a6d7..beb1433e1 100755 --- a/scripts/off_gopath.sh +++ b/scripts/off_gopath.sh @@ -1,4 +1,7 @@ #! /usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + set -eu -o pipefail diff --git a/scripts/prepare_changelog.sh b/scripts/prepare_changelog.sh index 3bb5d1f9e..3f776034b 100755 --- a/scripts/prepare_changelog.sh +++ b/scripts/prepare_changelog.sh @@ -1,4 +1,7 @@ #!/bin/zsh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + LAST_RELEASE=$1 DO_PR_CHECK=1 diff --git a/scripts/sign.sh b/scripts/sign.sh index 024e5e5bd..f7d18acd7 100755 --- a/scripts/sign.sh +++ b/scripts/sign.sh @@ -1,3 +1,6 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + #!/usr/bin/env bash diff --git a/scripts/sort-md-list.py b/scripts/sort-md-list.py index e7bafc56e..984297775 100755 --- a/scripts/sort-md-list.py +++ b/scripts/sort-md-list.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + """ sort-md-list.py sorts markdown lists diff --git a/scripts/upgrade_plugins.sh b/scripts/upgrade_plugins.sh index f2c7335c0..3ca2885f1 100755 --- a/scripts/upgrade_plugins.sh +++ b/scripts/upgrade_plugins.sh @@ -1,4 +1,7 @@ #!/bin/zsh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + ## This script is to be run before a Packer release in order to update ## all vendored plugins to the latest available release. diff --git a/scripts/vagrant-freebsd-priv-config.sh b/scripts/vagrant-freebsd-priv-config.sh index e2ea148dc..9d5f0761e 100755 --- a/scripts/vagrant-freebsd-priv-config.sh +++ b/scripts/vagrant-freebsd-priv-config.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + chown vagrant:wheel \ /opt/gopath \ diff --git a/scripts/vagrant-freebsd-unpriv-bootstrap.sh b/scripts/vagrant-freebsd-unpriv-bootstrap.sh index 26d40b91e..89fc9fc87 100755 --- a/scripts/vagrant-freebsd-unpriv-bootstrap.sh +++ b/scripts/vagrant-freebsd-unpriv-bootstrap.sh @@ -1,4 +1,7 @@ #!/bin/sh +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export GOPATH=/opt/gopath diff --git a/scripts/vagrant-linux-priv-config.sh b/scripts/vagrant-linux-priv-config.sh index edbb5b8b7..d89e10ecb 100755 --- a/scripts/vagrant-linux-priv-config.sh +++ b/scripts/vagrant-linux-priv-config.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + export DEBIAN_FRONTEND=noninteractive diff --git a/scripts/vagrant-linux-priv-go.sh b/scripts/vagrant-linux-priv-go.sh index f9e792cb0..2d99bc151 100755 --- a/scripts/vagrant-linux-priv-go.sh +++ b/scripts/vagrant-linux-priv-go.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + function install_go() { local go_version=1.13 diff --git a/scripts/vagrant-linux-unpriv-bootstrap.sh b/scripts/vagrant-linux-unpriv-bootstrap.sh index 04cc38bec..ca7f004c9 100755 --- a/scripts/vagrant-linux-unpriv-bootstrap.sh +++ b/scripts/vagrant-linux-unpriv-bootstrap.sh @@ -1,3 +1,6 @@ #!/usr/bin/env bash +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: MPL-2.0 + cd /opt/gopath/src/github.com/hashicorp/packer && make dev diff --git a/tty.go b/tty.go index 5aa5a33bf..a6f16d122 100644 --- a/tty.go +++ b/tty.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + //go:build !solaris // +build !solaris diff --git a/tty_solaris.go b/tty_solaris.go index 1c20d3acf..257db9488 100644 --- a/tty_solaris.go +++ b/tty_solaris.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package main import ( diff --git a/version/version.go b/version/version.go index 1fa6f345f..e389cebd2 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package version import (