packer-cn/builder/vagrant
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
* mapstructure-to-hcl2: when we see a map generate an attribute spec and not a block spec

this will alow to do

tags = {
 key = "value"
}

instead of

tags {
  key = "value"
}

This will also enable using variables directly for those tags

* generate code

* update tests
2020-04-14 16:05:13 +02:00
..
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
builder.go were rendering yay 2020-04-07 17:50:47 -04:00
builder.hcl2spec.go HCL2: when we see a map generate an attribute spec instead of a block spec (#9035) 2020-04-14 16:05:13 +02:00
builder_test.go Merge remote-tracking branch 'origin/master' into sharing_info 2019-12-17 11:57:09 +01:00
driver.go use VAGRANT_CWD rather than changing packer run directories 2019-02-07 14:35:01 -08:00
driver_2_2.go Update builder/vagrant/driver_2_2.go 2020-01-15 13:12:44 -08:00
driver_mock.go only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
ssh.go vagrant builder 2019-02-04 14:08:43 -08:00
step_add_box.go replace buffer copy loop with a scanner that handles carriage returns 2020-01-15 12:05:29 -08:00
step_add_box_test.go tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
step_create_vagrantfile.go add insert_key option for toggling whether to add Vagrant's insecure key 2019-10-30 13:27:34 -07:00
step_create_vagrantfile_test.go fix tests 2019-10-30 13:48:12 -07:00
step_package.go fix ssh and package steps to use source syntax. 2019-09-18 13:15:49 -07:00
step_ssh_config.go only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
step_ssh_config_test.go only re-set path name if it needs to be unquoted; otherwise unquote r… (#8826) 2020-03-03 11:17:48 +01:00
step_up.go implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
step_up_test.go use GlobalID where provided, add test for `vagrant up` args generation 2019-09-10 10:46:16 -07:00