Commit Graph

4020 Commits

Author SHA1 Message Date
Seth Vargo 350a5f8cad Merge pull request #2115 from mitchellh/sethvargo/update_middleman
Update middleman-hashicorp
2015-05-15 16:32:11 -04:00
Seth Vargo 527a9e9bfc Update middleman-hashicorp 2015-05-15 16:19:35 -04:00
Seth Vargo 0652a76af4 Merge pull request #2111 from asagage/fix-typo-getting-started-remote-builds
Fix typo in getting started remote builds example code
2015-05-14 17:31:20 -04:00
Asa Gage c3a6e60e6c removed NL 2015-05-14 17:27:30 -04:00
Asa Gage 849b825d18 Fixed missing comma in remote-builds example code. 2015-05-14 17:22:32 -04:00
Romain Bossart 8944824fa8 doc update: no need for homebrew/binary anymore 2015-05-14 21:11:44 +02:00
Rickard von Essen 835aff4562 Fixes #2079 - Documentation parallel_tools_mode / guest_additions_mode 2015-05-05 09:21:32 +02:00
Ernie Hershey d903b6d56a Remove duplicate "directly" 2015-05-01 14:34:37 -04:00
Seth Vargo c8b3dfff5f Merge pull request #2059 from KFishner/hashicorp-ecosystem
Add how Packer fits into the HashiCorp Ecosystem
2015-04-24 12:11:53 -04:00
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
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
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
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
Alex Shadrin 43f86180da zsh completion 2015-04-04 13:51:59 +03: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
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
Aneesh Agrawal 63597af8bb Clarify the plugin discovery search & priority orders. 2015-03-11 01:20:30 -04:00
Kevin Fishner 698f913bbf explain how packer works with atlas 2015-03-10 16:21:36 -07: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
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
Emil Hessman 92704b693a provisioner/puppet-masterless: fix missing format argument
Fixes the following vet report:

provisioner/puppet-masterless/provisioner.go:196: missing argument for Errorf(%d): format reads arg 1, have only 0 args
2015-02-25 05:43:18 +01:00
Emil Hessman 8144c92dd0 post-processor/vagrant-cloud: fix incorrect printf verb types
Fixes the following vet reports:

post-processor/vagrant-cloud/client.go:81: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:99: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:131: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:156: arg resp for printf verb %s of wrong type: *net/http.Response
post-processor/vagrant-cloud/client.go:175: arg resp for printf verb %s of wrong type: *net/http.Response
2015-02-25 05:43:18 +01:00
Emil Hessman 9c31822a2b post-processor/vagrant: address vet report
Fixes the following vet report:

post-processor/vagrant/post-processor_test.go:135: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Emil Hessman d9abb5458b packer: fix formatting directives in test
Fixes the following vet reports:

packer/template_test.go:496: possible formatting directive in Fatal call
packer/template_test.go:528: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Emil Hessman c4d4e0a21f communicator/ssh: bind variable value to closure
Fixes the following vet report:

communicator/ssh/communicator_test.go:88: range variable newChannel captured by func literal
2015-02-25 05:43:18 +01:00
Emil Hessman 952ae5161b common: fix formatting directives in tests
Fixes the following vet reports:

common/step_create_floppy_test.go:79: possible formatting directive in Fatal call
common/step_create_floppy_test.go:89: possible formatting directive in Fatal call
common/step_create_floppy_test.go:180: possible formatting directive in Fatal call
common/step_create_floppy_test.go:190: possible formatting directive in Fatal call
2015-02-25 05:43:18 +01:00
Emil Hessman 57468b3d1a builder/vmware/iso: fix incorrect printf verb type in test
Fixes the following vet report:

builder/vmware/iso/builder_test.go:178: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:18 +01:00
Emil Hessman fdb64f6f25 builder/vmware/common: fix missing format argument for Fatalf call in test
Fixes the following vet report:

builder/vmware/common/step_shutdown_test.go:130: missing argument for Fatalf("%s"): format reads arg 1, have only 0 args
2015-02-25 05:43:17 +01:00
Emil Hessman 96b62af551 builder/virtualbox/iso: fix incorrect printf verb type
Fixes the following vet report:

builder/virtualbox/iso/builder_test.go:86: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman cceb4b2868 builder/qemu: fix incorrect printf verb type
Fixes the following vet report:

builder/qemu/builder_test.go:163: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman b19f9b9777 builder/parallels/iso: fix incorrect printf verb type
Fixes the following vet report:

builder/parallels/iso/builder_test.go:78: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:17 +01:00
Emil Hessman f5782084e5 builder/openstack: address vet reports
Fixes the following vet reports:

builder/openstack/artifact.go:44: arg a.ImageId for printf verb %d of wrong type: string
builder/openstack/step_wait_for_rackconnect.go:24: arg server for printf verb %s of wrong type: *github.com/mitchellh/gophercloud-fork-40444fb.Server
2015-02-25 05:42:19 +01:00
Emil Hessman 002e50f493 builder/googlecompute: fix formatting directives
Fixes the following vet reports:

builder/googlecompute/step_create_instance_test.go:42: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:29: possible formatting directive in Fatal call
builder/googlecompute/step_teardown_instance_test.go:39: possible formatting directive in Fatal call
2015-02-25 05:29:53 +01:00
Emil Hessman 413b84af6b builder/digitalocean: fix incorrect printf verb types
Fixes the following vet reports:

builder/digitalocean/builder_test.go:267: arg b.config.SSHUsername for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:300: arg b.config.RawSSHTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:341: arg b.config.RawStateTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:382: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
builder/digitalocean/builder_test.go:397: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00
Emil Hessman 505f51ff27 builder/amazon/ebs: fix incorrect printf verb type
Fixes the following vet report:

builder/amazon/ebs/step_create_ami.go:90: arg resp.Return for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00