Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of Packer available.

Packer

1.2.1

Package test results are passing.

This package was approved as a trusted package on 3/8/2018.

Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. Packer does not replace configuration management like Chef or Puppet. In fact, when building images, Packer is able to use tools like Chef or Puppet to install software onto the image.

To install Packer, run the following command from the command line or from PowerShell:

C:\> choco install packer --version 1.2.1

To upgrade Packer, run the following command from the command line or from PowerShell:

C:\> choco upgrade packer --version 1.2.1

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $url = 'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_windows_386.zip'
    $checksum = '1f843cd109166ca175bda8b5979f8157215039780b26b9bdc04417c6eb2e3e50'
    $checksumType = 'sha256'
    $url64 = 'https://releases.hashicorp.com/packer/1.2.1/packer_1.2.1_windows_amd64.zip'
    $checksum64 = '4690199d4be73b7e928ade026451d0a163b6df100f1ba5eaab44cb55fd538230'
    $checksumType64 = $checksumType
    $legacyLocation = "$env:SystemDrive\HashiCorp\packer"
    $unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\packer")) {
      if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\packer\tools")) {
        # clean old plugins and ignore files
        Write-Host "Removing old packer plugins"
        Remove-Item "$env:ChocolateyInstall\lib\packer\tools\packer-*.*"
      }
    } else {
      if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\packer")) {
        if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\packer\tools")) {
          # clean old plugins and ignore files
          Write-Host "Removing old packer plugins"
          Remove-Item "$env:ALLUSERSPROFILE\chocolatey\lib\packer\tools" -Include "packer-*.*"
        }
      }
    }
    
    $unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    Install-ChocolateyZipPackage "packer" "$url" "$unzipLocation" "$url64" `
     -checksum $checksum -checksumType $checksumType -checksum64 $checksum64 -checksumType64 $checksumType64
    
    If (Test-Path $legacyLocation) {
      Write-Host "Removing old packer installation from $legacyLocation"
      Remove-Item $legacyLocation -Force -Recurse
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Mitchell Hashimoto
  • Jack Pearkes
  • Mark Peek
  • Ross Smith II
  • Rickard von Essen

Tags

Version History

Version Downloads Last updated Status
Packer 1.2.4 2545 Wednesday, May 30, 2018 approved
Packer 1.2.3 1804 Thursday, April 26, 2018 approved
Packer 1.2.2 745 Tuesday, April 17, 2018 approved
Packer 1.2.1 2163 Thursday, March 8, 2018 approved
Packer 1.2.0 1327 Saturday, February 10, 2018 approved
Packer 1.1.3 2421 Saturday, December 9, 2017 approved
Packer 1.1.2 1126 Thursday, November 16, 2017 approved
Packer 1.1.1 2252 Sunday, October 15, 2017 approved
Packer 1.1.0 1292 Wednesday, September 13, 2017 approved
Show More

Discussion for the Packer Package

Ground rules:

  • This discussion is only about Packer and the Packer package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Packer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok