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

Packer

1.1.1

Package test results are passing.

This package was approved as a trusted package on 10/15/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.1/packer_1.1.1_windows_386.zip'
    $checksum = '64b19d3fbb7721cfc05f589f5e7807a2ed10cec38450a73a54602c93627abcba'
    $checksumType = 'sha256'
    $url64 = 'https://releases.hashicorp.com/packer/1.1.1/packer_1.1.1_windows_amd64.zip'
    $checksum64 = 'ccfdba603d7ba225e99beb753f71c0cfba58fc9ac24250356e77eac5a7464cc5'
    $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.0 1163 Wednesday, September 13, 2017 approved
Packer 1.0.4 791 Monday, August 28, 2017 approved
Packer 1.0.3 1628 Tuesday, July 18, 2017 approved
Packer 1.0.2 901 Thursday, June 22, 2017 approved
Packer 1.0.0 2855 Tuesday, April 4, 2017 approved
Packer 0.12.3 1217 Thursday, March 2, 2017 approved
Packer 0.12.2 1648 Saturday, January 21, 2017 approved
Packer 0.12.1 1070 Friday, December 16, 2016 approved
Packer 0.12.0 934 Friday, November 18, 2016 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