packer-cn/common
Matthew Hooker 5e6e12cacd
Use fmt to convert whatever's in error to a string.
This way we don't crash if someone sticks something else in the error
key in the state bag (which a quick glance at the code tells me we're
already doing.

Perhaps in the future we can add an error attribute to the state bag
but for now this will have to suffice.
2018-05-08 15:22:02 -07:00
..
bootcommand Use expression sequence generator in tests. 2018-04-23 16:32:18 -07:00
json common/json: add Unmarshal with method with syntax errors 2013-08-09 16:50:24 -07:00
powershell Hyper-V: Add support retrieving IP for Server 2008 2018-04-30 15:18:28 +10:00
ssh code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh 2015-05-28 08:17:49 -07:00
test-fixtures Ack! Forgot to include the test-fixtures/SomeDir/myfile.txt file... 2018-02-02 20:44:22 -06:00
uuid Simplifies the implementation of common/uuid 2013-10-23 23:05:02 +01:00
config.go Inverted the logic of FileExistsLocally as suggested by @SwampDragons as remote URLs are assumed to exist locally. 2018-02-02 20:17:24 -06:00
config_test.go Removed an extra '/' from the TestFileExistsLocally test in common/config_test.go 2018-02-02 20:36:08 -06:00
download.go Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols. 2018-01-16 13:37:32 -06:00
download_test.go Remove tmp files created by common/ tests 2018-04-30 18:16:46 +01:00
floppy_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
floppy_config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
http_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
http_config_test.go Refactor http server config into common 2015-11-01 14:45:47 -08:00
iso_config.go Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols. 2018-01-16 13:37:32 -06:00
iso_config_test.go Remove tmp files created by common/ tests 2018-04-30 18:16:46 +01:00
multistep_debug.go fix imports 2018-01-24 17:09:17 -08:00
multistep_runner.go Use fmt to convert whatever's in error to a string. 2018-05-08 15:22:02 -07:00
packer_config.go Add -on-error command line argument to allow preserving artifacts on builder errors 2016-09-16 12:15:00 +00:00
retry.go builder/virtualbox-ovf retry removing VM. 2017-10-25 10:27:33 -07:00
retry_test.go post-processor/vagrant-cloud: try upload once 2017-06-12 17:34:32 -07:00
step_create_floppy.go fix imports 2018-01-24 17:09:17 -08:00
step_create_floppy_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_download.go Add a common package for specifying useragent and adopt that everywhere 2018-04-05 14:28:50 -04:00
step_download_test.go fix imports 2018-01-24 17:09:17 -08:00
step_http_server.go use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run. 2018-04-16 13:41:17 -07:00
step_provision.go fix imports 2018-01-24 17:09:17 -08:00
step_provision_test.go fix imports 2018-01-24 17:09:17 -08:00