Commit Graph

1673 Commits

Author SHA1 Message Date
Mitchell Hashimoto 3238b65bf9 Merge branch 'cancel-next'
This implements more robust interrupt handling by propagating cancels
throughout more core Packer components.
2013-08-30 23:56:06 -07:00
Mitchell Hashimoto 0dc347c70d packer: implement Cancel in ProvisionHook 2013-08-30 23:39:29 -07:00
Mitchell Hashimoto 9f559cb25c common: detect ctrl-c in Provision 2013-08-30 23:28:31 -07:00
Mitchell Hashimoto 28bf6122bd provisioner/*: implement Cancel 2013-08-30 23:23:36 -07:00
Mitchell Hashimoto 47cd6df85b packer: Add Cancel method to Provisioner 2013-08-30 23:21:15 -07:00
Mitchell Hashimoto 6312f680da packer/rpc: test concurrent cancel/run 2013-08-30 23:10:16 -07:00
Mitchell Hashimoto 99ababda20 packer/rpc: implement hook Cancel 2013-08-30 23:03:43 -07:00
Mitchell Hashimoto 30bf8ffc7d packer: reset runningHook when done 2013-08-30 22:59:13 -07:00
Mitchell Hashimoto e210151408 packer: implement Cancel on DispatchHook 2013-08-30 17:26:51 -07:00
Mitchell Hashimoto 80e8e09ec7 packer: Add Cancel() method to hook 2013-08-30 17:03:55 -07:00
Mitchell Hashimoto d5c6b9fad3 packer/plugin: Interrupted() to check for i nterrupts 2013-08-30 16:39:28 -07:00
Mitchell Hashimoto 55b0b586d3 provisioner/chef-solo: code re-org 2013-08-30 16:35:57 -07:00
Mitchell Hashimoto 893c9e02c0 packer/plugin: Count number of interrupts atomically 2013-08-30 16:29:21 -07:00
Mitchell Hashimoto 71379bc8d7 packer: pass tests 2013-08-30 16:07:06 -07:00
Mitchell Hashimoto dd77898fcc Update CHANGELOG 2013-08-30 16:06:12 -07:00
Mitchell Hashimoto 662e74d070 provisioner/chef-solo: properly escape user vars for JSON
/cc @mwhooker - I moved the processing up into Prepare so that any
errors will be shown during a validate pass. Also, I escape some stuff
in keys. Tests moved as well.
2013-08-30 16:05:04 -07:00
Mitchell Hashimoto 6914baa473 Merge pull request #364 from mwhooker/362
provisioner/chef-solo: template expansion of `json`
2013-08-30 15:26:39 -07:00
Mitchell Hashimoto 8019cd1839 builder/amazon: don't chmod on windows 2013-08-30 15:04:23 -07:00
Mitchell Hashimoto 4bb320d86f builder/amazon: chmod debug key so it is ssh-ready 2013-08-30 15:03:29 -07:00
Mitchell Hashimoto 9186a7f214 builder/amazon: output DNS name if debug mode 2013-08-30 14:55:56 -07:00
Mitchell Hashimoto 57f185451a builder/amazon: drop private key if debug mode [GH-373] 2013-08-30 14:48:50 -07:00
Mitchell Hashimoto 404ae53a4a provisioner/salt-masterless: join paths properly 2013-08-30 14:26:29 -07:00
Mark Peek 4d42c79d1f website: add tip about using apt-get/yum -y to prevent hangs 2013-08-29 22:19:13 -07:00
Mark Peek bdace9206d Merge pull request #370 from TFDuesing/patch-1
website: openstack s/droplet/server/
2013-08-29 19:30:05 -07:00
Thomas Duesing 03259ce53c s/droplet/server/ 2013-08-29 21:21:40 -05:00
Mitchell Hashimoto 107dd04890 Merge pull request #369 from celkins/fix-staging-dir-2
website: Fix incorrect config key for Chef staging directory
2013-08-28 21:25:41 -07:00
Christopher Elkins c9352ce238 Fix incorrect config key for staging directory 2013-08-28 21:23:57 -07:00
Matthew Hooker d2e8bf476f reuse jsonString instead of opaque result var. 2013-08-28 20:16:06 -07:00
Matthew Hooker 9537f085ae clean up and retab. 2013-08-28 17:35:43 -07:00
Matthew Hooker 4b76b2d9e3 template expansion of `json` in chef-solo
Fixes #362
2013-08-28 17:27:22 -07:00
Mitchell Hashimoto 5887472a6f packer/plugin: fix nil deref during ctrl-c of provisioner 2013-08-28 11:21:02 -07:00
Mitchell Hashimoto 9efc05dbbf Up vesrion for dev 2013-08-28 11:16:28 -07:00
Mitchell Hashimoto be86264d21 v0.3.5 2013-08-28 10:47:19 -07:00
Mitchell Hashimoto c781045935 website: document shuting down network interfaces for reboot 2013-08-28 10:46:45 -07:00
Mitchell Hashimoto 01e998a81c common: support SHA512 as checksum type [Gh-356] 2013-08-28 09:09:43 -07:00
Mitchell Hashimoto ce89b357c0 website: update website for ssh_key_path stuff 2013-08-27 22:59:36 -07:00
Mitchell Hashimoto d54b0bd629 builder/vmware: support key based SSH auth [GH-70] 2013-08-27 22:57:42 -07:00
Mitchell Hashimoto a6735b1d65 builder/virtualbox: support ssh keys as auth mechanism [GH-70] 2013-08-27 22:55:13 -07:00
Mark Peek 30ab6572f7 builder/openstack: return artifacts 2013-08-27 22:37:06 -07:00
Mark Peek 276c023d84 builder/openstack: simplify by passing csp instead of accessor and api 2013-08-27 22:37:06 -07:00
Mitchell Hashimoto dce369fb1d communicator/ssh: Reset failure count if heartbeat works 2013-08-27 22:14:31 -07:00
Mitchell Hashimoto 35d0b90f55 communicator/ssh: heartbeat the SSH connection to detect drops [GH-200] 2013-08-27 22:12:21 -07:00
Mitchell Hashimoto 747f260678 packer: template error if override specified for bad builder [GH-336] 2013-08-27 21:34:55 -07:00
Mitchell Hashimoto b4b68bce00 Merge branch 'fix-minion-config-with-non-tmp-dir' of https://github.com/rach/packer into rach-fix-minion-config-with-non-tmp-dir
Conflicts:
	provisioner/salt-masterless/provisioner.go
2013-08-27 20:21:02 -07:00
Mitchell Hashimoto b9d73aaed5 website: Fix typo in docs [GH-340] 2013-08-27 17:55:09 -07:00
Mitchell Hashimoto 64fe98c465 provisioner/chef-solo: template process the configuration 2013-08-27 17:41:49 -07:00
Mitchell Hashimoto c9ef66651b fmt 2013-08-27 17:37:29 -07:00
Mitchell Hashimoto 6665162d27 Update CHANGELOG 2013-08-27 17:37:07 -07:00
Mitchell Hashimoto a8694fdda8 Merge pull request #353 from rach/add-setting-for-pillar-folder
provisioner/salt-masterless: Add setting for pillar folder
2013-08-27 17:36:28 -07:00
Mitchell Hashimoto 1566b4d858 builder/vmware: support vmx_template_path [GH-270] 2013-08-27 17:23:28 -07:00