Notices: This section not yet converted to new layout. Download stats are rolling back out.

Packer

1.1.3

Package test results are passing.

This package was approved as a trusted package on 12/9/2017.

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

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

C:\> choco upgrade packer

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $url = 'https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_windows_386.zip'
    $checksum = 'd6cb749414040feb00b88763f0d77f75e67745d4f4447371d0f1d99b1a62eb88'
    $checksumType = 'sha256'
    $url64 = 'https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_windows_amd64.zip'
    $checksum64 = '8a8662e8341bd6fd45a2e43ee2b5e56b63c89ce355d5e367069b319aaa538044'
    $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.

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.1.2 1025 Thursday, November 16, 2017 approved
Packer 1.1.1 1347 Sunday, October 15, 2017 approved
Packer 1.1.0 1190 Wednesday, September 13, 2017 approved
Packer 1.0.4 811 Monday, August 28, 2017 approved
Packer 1.0.3 1736 Tuesday, July 18, 2017 approved
Packer 1.0.2 916 Thursday, June 22, 2017 approved
Packer 1.0.0 3000 Tuesday, April 4, 2017 approved
Packer 0.12.3 1236 Thursday, March 2, 2017 approved
Packer 0.12.2 1678 Saturday, January 21, 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