Mitchell Hashimoto
100458955f
builder/*, provisioner/*: set user vars
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
66818ef89f
builder/digitalocean: use new template processing
2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
ef59ee41a8
rename builder/common to common since it is generally useful
2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
9fb778c012
builder/common: common config struct for Packer configs
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
7d1f799ced
builder/*: switch to MultiErrorAppend
2013-07-19 19:08:25 -04:00
Mitchell Hashimoto
d1ecd89635
builder/*: extract to common the config decoding
2013-07-19 15:00:32 -04:00
Mitchell Hashimoto
28a22a5fbe
builder/*: convert to common StepProvision
2013-07-16 15:44:41 +09:00
Mitchell Hashimoto
d3ea6c96c5
builder/digitalocean: use common connect ssh
2013-07-15 14:14:23 +09:00
Mitchell Hashimoto
1a6fca7563
builder/digitalocean: unexport calcaulted settings
2013-07-14 21:20:29 +09:00
Mitchell Hashimoto
559e0a7d6f
communicator/ssh: tweakable timeout on retry connection
2013-07-14 21:05:22 +09:00
Mitchell Hashimoto
4d297315c4
communicator/ssh: have a Connection func so we can re-establish
...
[GH-152]
2013-07-14 20:22:57 +09:00
Mitchell Hashimoto
a354f5fc08
Unused keys are invalid in templates [GH-104]
2013-07-14 09:28:56 +09:00
Jack Pearkes
bc4704f5ca
builder/digitalocean: add tests for credentials via env vars
2013-07-12 09:47:45 +02:00
Jack Pearkes
3461da5411
builder/digitalocean: use detected env variables for credentials
2013-07-11 11:31:09 +02:00
Jack Pearkes
d9ab4e210d
builder/digitalocean: display friendler API error messages
...
Fixes #85
2013-07-01 09:29:45 +02:00
Mitchell Hashimoto
2e0a051539
builder/*: Fail if provisioning fails [GH-33]
2013-06-26 17:54:57 -07:00
Mitchell Hashimoto
f0255837d4
builder/digitalocean: Make tests pass again
2013-06-24 09:25:00 -07:00
Jack Pearkes
b06b8e67f5
website: update digitalocean state_timeout default
2013-06-24 09:07:33 +02:00
Jack Pearkes
3fb6fa2444
builder/digitalocean: raised state_timeout default to 6 minutes [GH-26]
2013-06-24 09:03:25 +02:00
Jack Pearkes
7c98be0e52
builder/digitalocean: add configurable state_timeout
...
The state_timeout config allows you to determine the timeout
for "waiting for droplet to become [active, off, etc.]".
This still defaults to 3 minutes.
2013-06-23 12:51:51 +02:00
Mitchell Hashimoto
1ced19c3ce
builder/digitalocean: Reattempt SSH handshake a few times
...
I ran into a few cases where the droplet was active and a TCP connection
could be made, but SSH wasn't running yet and the handshake failed. A
race condition with the machine boot. This will retry the SSH handshake
a few times.
/cc @pearkes
2013-06-21 23:02:13 -07:00
Mitchell Hashimoto
7db824f457
builder/digitalocean: Properly return errors
2013-06-19 21:00:51 -07:00
Mitchell Hashimoto
6d57e0c530
builder/digitalocean: timeout TCP connections to SSH
2013-06-19 13:26:08 -07:00
Mitchell Hashimoto
0235a00545
builder/digitalocean: compile with scrub changes
2013-06-19 13:26:03 -07:00
Mitchell Hashimoto
0770e2ddec
builder/digitalocean: Scrub sensitive information out of logs
...
/cc @pearkes
2013-06-19 13:18:53 -07:00
Mitchell Hashimoto
221281b714
builder/digitalocean: fmt
2013-06-18 22:02:09 -07:00
Mitchell Hashimoto
91253c4f32
builder/digitalocean: Implement Artifact destroy
...
/cc @pearkes
2013-06-18 21:54:15 -07:00
Mitchell Hashimoto
0f354c79d1
packer: Add Destroy method to artifact
...
[GH-18]
2013-06-18 16:01:14 -07:00
Jack Pearkes
8d41363085
builder/digitalocean: only execute the snapshotname template if parsed
2013-06-18 00:06:59 +02:00
Jack Pearkes
1a6f410257
builder/digitalocean: check for err parsing template for snapshot name
2013-06-17 23:54:28 +02:00