Commit Graph

3929 Commits

Author SHA1 Message Date
Mitchell Hashimoto 3ebfe06ec8 packer: render build names 2015-05-23 16:12:32 -07:00
Mitchell Hashimoto 47b570a2d2 template/interpolate: flip disable to enableenv 2015-05-23 16:06:11 -07:00
Mitchell Hashimoto 97a48e35bb template: ParseFile 2015-05-23 15:44:54 -07:00
Mitchell Hashimoto d74dacc4c0 packer: Core.Build 2015-05-23 15:08:50 -07:00
Mitchell Hashimoto ded13a8b10 packer: Core, and template validate 2015-05-23 14:48:07 -07:00
Mitchell Hashimoto 28dc1c2aed template: validate post-processor only/except 2015-05-21 15:42:12 -06:00
Mitchell Hashimoto 637fabc1c7 template: validate only/except 2015-05-21 15:39:32 -06:00
Mitchell Hashimoto 2f7e95cc46 template: Validate 2015-05-21 15:29:45 -06:00
Mitchell Hashimoto 2e4dd63912 template: parse push 2015-05-21 14:44:29 -06:00
Mitchell Hashimoto 43fbd26dc9 template: copy some description and min vesrion 2015-05-21 14:41:33 -06:00
Mitchell Hashimoto 839784b044 template: parse post-processors 2015-05-21 14:32:22 -06:00
Mitchell Hashimoto fbda5b119a template: variable parsing 2015-05-21 13:40:33 -06:00
Mitchell Hashimoto 4583ed6108 template: parse provisioners 2015-05-21 13:34:44 -06:00
Mitchell Hashimoto 95890003b7 template: builder parsing 2015-05-19 15:25:56 -06:00
Mitchell Hashimoto 1e745d9508 template/interpolate: user variables 2015-05-15 21:18:27 -07:00
Mitchell Hashimoto a4b5e08fe4 template/interpolate: upper/lower 2015-05-15 21:16:52 -07:00
Mitchell Hashimoto 7659a91445 template/interpolate: timestamp 2015-05-15 21:14:41 -07:00
Mitchell Hashimoto b84ec8da4b template/interpolate: isotime 2015-05-15 21:12:54 -07:00
Mitchell Hashimoto 5d205ec1fc template/interpolate: wd 2015-05-15 21:10:12 -07:00
Mitchell Hashimoto 125369d102 template/interpolate: can specify template data 2015-05-15 21:08:46 -07:00
Mitchell Hashimoto ff6573ce10 template/interpolate: basic + some funcs 2015-05-15 21:05:47 -07: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
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