Commit Graph

4244 Commits

Author SHA1 Message Date
Mitchell Hashimoto 3a24cf9e91 Merge pull request #2134 from mitchellh/f-template-new
Refactor core, move template parsing into a sep package
2015-05-26 13:01:45 -07:00
Mitchell Hashimoto 8df1bca5a1 command/meta: parse var-files 2015-05-26 09:58:36 -07:00
Mitchell Hashimoto 7f78a2c5d9 helper/flag-kv: can parse JSON files 2015-05-26 09:58:04 -07:00
Mitchell Hashimoto dd0a775500 common/command: delete 2015-05-26 09:51:47 -07:00
Mitchell Hashimoto d4b489a9ec update todo 2015-05-26 09:46:11 -07:00
Mitchell Hashimoto 53e77eacea packer: overrides work 2015-05-26 09:46:04 -07:00
Mitchell Hashimoto b9eea82a36 template: add tests for RawContents 2015-05-26 09:41:42 -07:00
Mitchell Hashimoto 99a93009ed packer: remove Template 2015-05-26 09:38:24 -07:00
Mitchell Hashimoto 946f745881 command: don't use packer.Template 2015-05-26 09:38:09 -07:00
Mitchell Hashimoto 2fb08be192 template: store Rawcontents 2015-05-26 09:38:02 -07:00
Mitchell Hashimoto 26c7ac2d90 packer: post-processors 2015-05-26 09:28:59 -07:00
Mitchell Hashimoto 85e615bbe2 packer: a lot more provisioner tests 2015-05-26 09:16:39 -07:00
Mitchell Hashimoto b25ae21e13 packer: run provisioners 2015-05-26 09:14:29 -07:00
Mitchell Hashimoto b5f4ffa56c template: OnlyExcept skipping 2015-05-26 09:07:16 -07:00
Mitchell Hashimoto c12072ecad packer: tests around interpolated names 2015-05-25 18:15:07 -07:00
Mitchell Hashimoto 547d9e759e packer: test Build 2015-05-25 17:58:59 -07:00
Mitchell Hashimoto dc74ec5612 packer: remove Environment 2015-05-25 17:29:10 -07:00
Mitchell Hashimoto ba359394b1 fix compilation 2015-05-23 16:32:36 -07:00
Mitchell Hashimoto 9d89ca8e07 command: build should be converted to new API, compiles 2015-05-23 16:30:45 -07:00
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
Seth Vargo 168fe98610 Merge pull request #2109 from bosr/docs-homebrew-notap
doc update: no need for homebrew/binary anymore
2015-05-23 13:12:09 -04:00
Seth Vargo 86c2043a64 Merge pull request #2089 from ehershey/patch-1
Remove duplicate "directly"
2015-05-23 13:11:58 -04:00
lokulin bda4ef7c65 Retry the AWS API when looking for a newly created instance
Sometimes the AWS API responds that it can't find a newly created
instance if you poll it too soon after creation.  Retry a few times
to be sure it really hasn't been created.
2015-05-22 15:08:51 +10: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
Josh Bleecher Snyder 2fe785ed35 common: remove dead code
The referenced bug was fixed in Go 1.2,
and Packer requires Go 1.2+.
2015-05-18 15:13:36 -07:00
Josh Bleecher Snyder 76c8cfd498 common: don't scrub ""
If the access_key or secret_key were loaded from
somewhere other than the packer file then
ScrubConfig can get called to scrub "" and "".

This results in very long output:

<Filtered><<Filtered>F<Filtered>i...

Don't do that.
2015-05-18 15:13:01 -07:00
Vasiliy Tolstov 3984f5e6f6 add discard option to qemu builder
Enabling discards for disk can greatly minimize disk size then user
inside vm use fstrim command or trim/discard unneded blocks.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-05-17 20:48:58 +03: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 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