Commit Graph

4393 Commits

Author SHA1 Message Date
Eric Johnson 3bdf80a7e9 Merge pull request #2061 from duftler/google-cleanup-disk-on-sigint
Delete GCE disk on SIGINT.
2015-04-22 11:12:44 -07:00
duftler 6d28ee931c Delete GCE disk on SIGINT. 2015-04-21 18:02:05 +00:00
Kevin Fishner 2c8ddc384b add packer and the hc ecosystem 2015-04-20 15:55:16 -07:00
FGtatsuro 09f379a928 Support force option for docker-tag. 2015-04-18 13:12:28 +09:00
Eric Johnson 419f3271f1 Merge pull request #2052 from sparkprime/useragent
Use new Google API and OAuth libs, add UserAgent string
2015-04-17 12:20:35 -07:00
Dave Cunningham 982934dfb9 Use new Google API and OAuth libs, add UserAgent string 2015-04-17 15:12:39 -04:00
Dan Schaffer 03436a3745 builder/amazon/chroot: fix no attachments on volume error.
This adds retry logic to the amazon/chroot builder.  The builder
intermittently fails when ec2conn shows the volume in the attached
state but calling Volumes[0].Attachments return an empty array. The
fix adds a retry logic for when Volumes[0].Attachments has len 0 sleep
for 2 seconds and retry up to 30 times.

When the Volumes[0].Attachments is empty I find within 5 seconds the
Volumes[0].Attachments contains the correct value.

The issue is reported in:
https://github.com/mitchellh/packer/issues/1854
2015-04-16 13:06:48 -04:00
Jack Pearkes 344c741642 command/push: allow specifying a -name param for push target 2015-04-15 12:54:58 -07:00
James Nugent 6a3bf9d87e Remove Go 1.2 from the Travis build 2015-04-15 12:18:33 -07:00
James Nugent 65a9347b1e Fix potential nil pointer errors in ported code
This commit adds extra nil checks for some pointers which were not
necessary when using goamz
2015-04-15 12:17:44 -07:00
James Nugent 33b4f5cc0a Check for EBS being nil before assigning it 2015-04-15 11:49:29 -07:00
Travis Truman 7bd37b1f7a Tests were failing incorrectly when OpenStack environment variables were set in the environment running the tests 2015-04-14 11:14:58 -04:00
James Nugent e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
This commit moves the Amazon builders of Packer away from the Hashicorp
fork of the goamz library to the official AWS SDK for Go, in order that
third party plugins may depend on the more complete official library
more easily.
2015-04-12 21:33:09 -04:00
Spencer Owen 59499426b0 Changes date example in isotime
The example of using 1506 doesn't make much sense since 15 is the hour and 06 is the year. 
Using HHMM is a more intuitive example
2015-04-09 14:43:12 -06:00
Ameir Abdeldayem 4735ab004a Add docs for `client_key` option of `chef-client` provisioner. 2015-04-09 02:19:52 -04:00
Ameir Abdeldayem 5c06af872d Support chef-client 'client_key' and default to <staging
dir>/client.pem.
2015-04-09 02:15:16 -04:00
Emil Hessman bd425db546 packer: skip colored ui test if ui doesn't support colors
Fixes test failure on Windows.
2015-04-07 20:33:58 +02:00
Matt Fellows a973dce7d3 Report error code during Temporary Security Group creation (#2021) 2015-04-07 12:11:34 +10:00
Brian Hourigan a4cfd921f4 Adding missing hyphen to sudo options 2015-04-04 10:52:17 -04:00
Alex Shadrin 43f86180da zsh completion 2015-04-04 13:51:59 +03:00
Nevins Bartolomeo 6686b62347 AWS availability zone could be incorrect when using spot instances with no AZ specified 2015-04-03 20:52:54 -04:00
Georg Großberger 8c0169b1c4 Make the Vmware build extract the host IP properly from ifconfig stdout 2015-03-25 14:45:15 +01:00
Justin Campbell 23ac351c85 Clarify doubly-nested array use in post-processors
Expands on the description of the Vagrant and Vagrant Cloud
post-processors needing to be in a doubly-nested array.

Also, separate the two arrays in the JSON sample so they stick out more
(and reformat the JSON).
2015-03-24 15:41:17 -04:00
Donald Guy a7206aebd7 builder/docker: attempt to satisfy travis for #1993 2015-03-20 12:50:03 -04:00
Donald Guy df7623d9d8 builder/docker: Run scripts /w `exec` if -v > 1.4 2015-03-20 12:07:43 -04:00
Seth Vargo b49d74d999 Merge pull request #1990 from mitchellh/sethvargo/mobileish
Address certain mobile issues
2015-03-19 11:09:24 -04:00
Seth Vargo e3dc34433e Address some mobile issues 2015-03-19 10:43:25 -04:00
Seth Vargo 9b318941fc Update middleman-hashicorp 2015-03-19 10:43:20 -04:00
Marc O'Morain 9b2d219cab MAC address can be upper or lower case 2015-03-18 16:40:05 +00:00
Seth Vargo 32af9a7e26 Merge pull request #1972 from KFishner/packer-atlas-support
Explain how packer works with atlas
2015-03-16 18:35:23 -04:00
Seth Vargo f56db12615 Merge pull request #1973 from aneeshusa/clarify-config-discovery-order
Clarify the plugin discovery search & priority orders.
2015-03-16 18:34:17 -04:00
Seth Vargo 1e43c9090a Merge pull request #1980 from dragon788/master
Corrected invalid boot command section for Parallels, Virtualbox, and VMware ISO builders
2015-03-16 18:28:45 -04:00
dragon788 7daf8f6b5f Invalid boot command section for VMware ISO 2015-03-13 13:45:43 -05:00
dragon788 0e8cd451ed Invalid boot command section for VirtualboxISO 2015-03-13 13:45:30 -05:00
dragon788 a565f43ca9 Replaced missed command 2015-03-13 13:44:59 -05:00
dragon788 90e48eabc3 Invalid boot command section for Parallels ISO 2015-03-13 13:44:07 -05:00
Mojo Talantikite d174ffe1fa Fix digitalocean provider for private images [fixes mitchellh/packer#1792] 2015-03-12 19:01:51 -04:00
Aneesh Agrawal 63597af8bb Clarify the plugin discovery search & priority orders. 2015-03-11 01:20:30 -04:00
renat-sabitov-sirca d046e1cc5b Fixing transient AWS errors during EBS builds
Relates to #1539

AWS is eventually consistent and instance can be not visibile for
some time after creation. This fix eliminates describe-instances
call before going to the proper wait loop
2015-03-11 10:34:21 +11:00
Kevin Fishner 698f913bbf explain how packer works with atlas 2015-03-10 16:21:36 -07:00
Andrew Beresford 3b89912ca1 Merge branch 'fix-vnc-missed-keys' of github.com:beezly/packer into fix-vnc-missed-keys 2015-03-09 13:59:05 +00:00
Andrew Beresford a81c8905fb Add 1/10th second delay between key events to VNC 2015-03-09 13:58:46 +00:00
Seth Vargo fc6b78b8dd Merge pull request #1964 from lyrixx/better-errror
Better error reporting when a config key in template is Unknown
2015-03-05 10:12:54 -05:00
Grégoire Pineau 97c56347a1 Better error reporting when a config key in template is Unknown
This patch will allow to fix the following bug much faster:

```
1 error(s) occurred:

* Unknown configuration key: output_directory
```

Related configuration:

```
"output_directory ": "build/sl_base/",
```

After the patch, the error reporting will be:

```
1 error(s) occurred:

* Unknown configuration key: "output_directory¤"
```
2015-03-05 10:23:21 +01:00
Ryan Uber f9c14aee90 post-processor/atlas: fix index out of range panic when artifacts are present 2015-03-02 11:59:18 -08:00
Ash Caire 361e859556 Add EBS snapshot tags 2015-03-01 10:27:30 +11:00
Martin Atkins 2a9dc513ab Fix statement in machine-readable 'ui' type docs.
The text previously stated that "ui"-type messages represent messages that would be shown if Packer is *not* running in human-readable mode.

This is rather talking about what would happen when Packer *is* using human-readable mode.
2015-02-26 16:35:31 -08:00
Seth Vargo 1b07d7eb5e Merge pull request #1769 from ceh/vet-fixes
Address go vet reports
2015-02-25 00:12:51 -05:00
Emil Hessman ffd570fe3c Makefile: add vet target 2015-02-25 05:43:18 +01:00
Emil Hessman 3165b0c936 provisioner/salt-masterless: fix incorrect printf verb types
Fixes the following vet reports:

provisioner/salt-masterless/provisioner.go:119: arg cmd for printf verb %s of wrong type: *github.com/mitchellh/packer/packer.RemoteCmd
provisioner/salt-masterless/provisioner.go:121: arg err for printf verb %d of wrong type: error
provisioner/salt-masterless/provisioner.go:142: arg err for printf verb %d of wrong type: error
provisioner/salt-masterless/provisioner.go:157: arg err for printf verb %d of wrong type: error
provisioner/salt-masterless/provisioner.go:172: arg err for printf verb %d of wrong type: error
provisioner/salt-masterless/provisioner.go:216: arg err for printf verb %d of wrong type: error
2015-02-25 05:43:18 +01:00