cookbook 'packer', '= 0.2.1', :supermarket
packer (11) Versions 0.2.1 Follow10
cookbook 'packer', '= 0.2.1'
knife cookbook site install packer
knife cookbook site download packer
recipe[packer] in your run list.
This will put Packer into
/usr/local in a
packer-*version* directory, with a symlink of
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.
Hashmapping file name to checksums, derived by default from
node[:packer][:checksum]- SHA-256 checksum of appropriate binary. Should be auto-detected for the default version using data in
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
(easiest), directly override the
checksums attribute with an explicit map of
just the versions you want (somewhat more work for you), or just directly
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:: Emil Sit (firstname.lastname@example.org)
|ark ~> 0.3.0|
There are no cookbooks that are contingent upon this one.