GithubHelp home page GithubHelp logo

chef-packer's Introduction

packer cookbook

Installs Packer using the ark cookbook.

Requirements

None.

Usage

Just include recipe[packer] in your run list.

This will put Packer into /usr/local in a packer-*version* directory, with a symlink of packer to /usr/local/bin.

Attributes

  • node[:packer][:url_base] - Base URL from which to download (in case you have your own mirror). Defaults to the link at http://www.packer.io/downloads.html.
  • node[:packer][:version] - The version of Packer to install.
  • node[:packer][:arch] - Architecture to use; auto-detects amd64 and 386 but you must override with arm if desired.
  • node[:packer][:raw_checksums] - The contents of the upstream checksum file to allow checksum auto-detection.
  • node[:packer][:checksums] - A Hash mapping file name to checksums, derived by default from raw_checksums.
  • node[:packer][:checksum] - SHA-256 checksum of appropriate binary. Should be auto-detected for the default version using data in raw_checksums or checksums.

When overriding with a particular desired version, you can set the checksum a variety of ways. When this cookbook is updated for a new default version, the checksums will be updated by the maintainers.

If you require a particular older (or newer) version, you can update the raw_checksums with the official SHA256SUM list from https://dl.bintray.com/mitchellh/packer/${VERSION}_SHA256SUMS?direct (easiest), directly override the checksums attribute with an explicit map of just the versions you want (somewhat more work for you), or just directly setting the checksum attribute (if you only need a single platform).

Note that you can also ignore the checksum variables if you don't care about downloading the binary repeatedly as Chef only uses the checksum to avoid re-downloads, and not to verify integrity.

Author

Author:: Emil Sit ([email protected])

chef-packer's People

Contributors

daspilker avatar milkcocoa avatar rljohnsn avatar sit avatar whilp avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.