4106 Commits

Author SHA1 Message Date
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
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
Emil Hessman
05c2206684 builder/amazon/common: fix incorrect printf verb type in amiRegionCopy
Fixes the following vet reports:

builder/amazon/common/step_ami_region_copy.go:81: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
builder/amazon/common/step_ami_region_copy.go:93: arg target for printf verb %s of wrong type: github.com/mitchellh/goamz/aws.Region
2015-02-25 05:29:53 +01:00
Seth Vargo
8c36684e98 Merge pull request #1846 from lalyos/patch-1
docs/templates: add note about escaping
2015-02-24 20:12:18 -05:00
Seth Vargo
06e73691d1 Merge pull request #1885 from ceh/fix-win-test
post-processor/vagrant: fix test failure on Windows
2015-02-24 20:06:00 -05:00
Seth Vargo
2067e312ce Update CHANGELOG 2015-02-24 20:03:27 -05:00
Seth Vargo
c338d313db Merge pull request #1925 from tdooner/add_rackconnect_support
Add Rackconnect support to openstack builder
2015-02-24 20:02:26 -05:00
Seth Vargo
d4d829a05a Update CHANGELOG 2015-02-24 19:55:23 -05:00
Seth Vargo
500654714c Merge pull request #1932 from bhourigan/issue1931
ec2-upload-bundle uses deprecated parameter
2015-02-24 19:54:33 -05:00
Seth Vargo
2d13cf9689 Merge pull request #1936 from leto/patch-1
Tell people to use OVF v2
2015-02-24 19:53:30 -05:00
Seth Vargo
cc231ea497 Merge pull request #1941 from w1mvy/update_document
Updated doc with config
2015-02-24 19:51:44 -05:00
Seth Vargo
6a7d00f436 Update CHANGELOG.md 2015-02-24 17:02:02 -05:00
Seth Vargo
4f22fd25f5 Merge pull request #1875 from ryanuber/f-dofix
builder/digitalocean: fix response decoding after api changes
2015-02-24 17:01:23 -05:00
Ross Smith II
07b61f2ca8 Fix digitalocean urls in docs
[skip ci]
2015-02-24 11:32:27 -08:00
w1mvy
003bb6926c Updated doc with config 2015-02-23 21:36:37 +09:00
Seth Vargo
4170eb7d2c Merge pull request #1938 from ceh/spellcheck
website: address spelling mistakes
2015-02-21 12:24:57 -05:00
Emil Hessman
825cd7a86a website: address spelling mistakes 2015-02-21 09:27:04 +01:00