Commit Graph

3712 Commits

Author SHA1 Message Date
Mitchell Hashimoto ce22c4eda6 Merge pull request #1579 from mpage/handle-transient-aws-errors
providers/aws: Ignore transient network errors when fetching AWS state.
2014-10-14 15:38:01 -07:00
Mitchell Hashimoto 2cb53234f5 Merge pull request #1584 from Tpbrown/fix-compress-doc
website: Update example to match parameter.
2014-10-14 15:37:21 -07:00
Mitchell Hashimoto b2923ad496 update CHANGELOG 2014-10-14 15:36:57 -07:00
Billie H. Cleek afa499befd always use an inventory file
Using "127.0.0.1," as the argument to `ansible-playbook -i` uses an
undocumented feature of Ansible. Michael DeHaan has indicated that
support for it may be pulled in the future
(https://groups.google.com/forum/#!topic/ansible-project/G_9JRGp5jGE).
2014-10-14 15:36:29 -07:00
Mitchell Hashimoto 373cefa93c Merge pull request #1585 from Tpbrown/ansible-color-and-unbuffered
provisioner/ansible: Colorize Ansible output, and don't buffer output.
2014-10-14 15:36:27 -07:00
Mitchell Hashimoto 345eb66566 Update CHANGELOG 2014-10-14 15:35:58 -07:00
Mitchell Hashimoto be268a04fd Merge pull request #1587 from joshfng/master
provisioner/shell: single quote env var values.
2014-10-14 15:35:11 -07:00
Josh Frye 5835ca42b4 Move quoting to else block only for valid vars. Add test case. 2014-10-14 14:20:36 -07:00
Josh Frye a667282e00 Single quote env var values. 2014-10-14 13:03:14 -07:00
Tim Brown baa8697f5d Colorize Ansible output, and don't buffer output.
Setting environment variables for the ansible-playbook invocation.

ANSIBLE_FORCE_COLOR will ensure output is colorized.  PYTHONUNBUFFERED will stream output as Ansible runs, vs getting a big dump of output at the end.
2014-10-13 15:31:11 -07:00
Tim Brown bd5382dc72 Update example to match parameter.
The example showed "path" instead of "output".
2014-10-13 12:56:53 -07:00
Matt Page 6fb2586fb2 fix: Ignore transient network errors when fetching AWS state.
Given that state fetching is an idempotent operation, a transient
network error should not cause the entire build to fail. Instead,
retry when such errors are encountered.
2014-10-13 10:02:46 -07:00
Seth Vargo 2fd3f64ab0 Merge pull request #1573 from rozha/master
fix a minor typo in platforms.html
2014-10-11 07:21:35 -07:00
Ilya Novikov d69d9f1536 fix a minor typo in platforms.html 2014-10-11 16:49:10 +05:30
Eric Johnson 7fe6cab83a Merge pull request #1563 from mpage/fix-gce-metadata
fix: Respect metadata supplied for GCE builders.
2014-10-10 19:03:09 -07:00
Kent Holloway 39e90de9d9 Merge remote-tracking branch 'upstream/master' 2014-10-10 09:41:47 -05:00
Seth Vargo ff514004a8 Merge pull request #1537 from nifr/patch-1
Fixed dead links in doc section environment-variables.
2014-10-10 06:34:45 -07:00
Konstantinos Koukopoulos a8b8658245 figure out VirtualBox version on FreeBSD 2014-10-09 11:45:03 +03:00
Mitchell Hashimoto 22b186ce15 Merge pull request #1564 from mitchellh/sethvargo/middleman-hashicorp
Use middleman-hashicorp
2014-10-08 22:22:23 -07:00
Seth Vargo d62843144e Tell Rack to cache /assets 2014-10-06 20:37:07 -04:00
Seth Vargo 37eb3043f5 Upgrade to middleman-hashicorp 2014-10-06 20:35:19 -04:00
Seth Vargo cd23c39064 Move assets to assets/ 2014-10-06 20:34:44 -04:00
Matt Page 0fe61fa1e0 fix: Respect metadata supplied for GCE builders.
Previously, any per instance metadata supplied via the GCE builder
was ignored.

Test plan:

- make test
- Manual testing via:
-- Created a packer config that contained a GCE builder with custom
   metadata set.
-- Ran `packer build`.
-- Verified the instance had the correct metadata in the GCE console.
2014-10-06 14:18:34 -07:00
Kent Holloway a3e4554a15 Merge remote-tracking branch 'upstream/master' 2014-10-06 10:14:08 -05:00
Kent Holloway 9e2d0af5ab Reverting previous change, including M on memory line to be explicit about what we are requesting 2014-10-06 10:11:39 -05:00
Amos Shapira b3839f48de ec2:ModifyImageAttribute already included in the sample policy
ec2:ModifyImageAttribute is already included in the sample policy JSON (line 67 in the source file), so the comment about optionally adding it only adds confusion.
2014-10-06 13:28:40 +11:00
Vasiliy Tolstov 8efc8ec984 add ability to set cache mode for disk
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-06 01:09:45 +04:00
Mikhail Zholobov 7b50de33da post-processor/vagrant/parallels: Removed unnecessary filling the Vagrantfile 2014-10-05 11:30:33 +04:00
Rickard von Essen 2aa5a1988b Updated CHANGELOG 2014-10-04 23:16:38 +02:00
Rickard von Essen d75d44ad9e Merge pull request #1548 from legal90/create_disk
builder/parallels: Create VM without hdd and then add it later
2014-10-04 23:06:15 +02:00
Rickard von Essen fc08874c66 Merge pull request #1502 from JessThrysoee/remove_step_remove_devices
builder/parallels: Rely on Cleanup functions to detach devices
2014-10-04 22:41:20 +02:00
Mikhail Zholobov eb37742ab0 builder/parallels: Disable default cdrom0 device and then enable it on cleanup
This is needed to make 'cdrom0' device unavailable during the ISO installation process.
It is required for some guest OS types, such as FreeBSD and OmniOS.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 13251ced49 builder/parallels: Added setting the boot order
CD/DVD drive with installation ISO should be exactly the 2nd device in the VM boot order.
This ensures that VM will boot from this ISO at the first boot time only.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 280c3c52de builder/parallels: Attach ISO images to the separate cdrom device
For each ISO image the individual cdrom device will be added to the VM. During the cleanup these devices will be deleted.
It makes attach steps more clear - there is no doubt what is the name of the device.

Related to: [mitchellh/packer#1502]
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 0cfe58193f builder/parallels: Added driver method 'DeviceAddCdRom' 2014-10-04 22:39:54 +02:00
JessThrysoee 5394ce61fd builder/parallels: Rely on Cleanup functions to detach devices
Remove the redundant StepRemoveDevices and rely on the cleanup to be handled by:
* StepAttachParallelsTools.Cleanup
* StepAttachFloppy.Cleanup
* stepAttachISO.Cleanup
2014-10-04 22:39:54 +02:00
Jack Pearkes 37a9c3dc7d Merge pull request #1554 from mitchellh/sethvargo/update_middleman
Update website to use latest middleman
2014-10-04 10:01:57 -07:00
Rickard von Essen 57ad64da30 Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist
builder/parallels: Ignore 'The fdd0 device does not exist'
2014-10-04 18:04:08 +02:00
Seth Vargo a4eb1035ea Update website to use latest middleman 2014-10-03 17:55:34 -07:00
Seth Vargo ab12c84407 Remove unnecessary counter file (as per @pearkes) 2014-10-03 17:55:26 -07:00
Brian Downs dabf34a458 Replaced struct call with nil per @jsonberanek. Ran go fmt. 2014-10-03 12:34:07 -07:00
Kent Holloway 6b5a505384 -redir is deprecated and missing on some versions of QEMU, using -netdev instead which is recommended. Removing M letter from Memory flag as QEMU now assumes this value is always in MB and errors out if you pass the M as a part of the command 2014-10-03 10:39:57 -05:00
Kent Holloway 2755ba1751 Changing machinetype default to PC instead of PC-1.0 which seems to be a saner default that works on more platforms. RedHat in particular doesnt have PC-1.0 2014-10-03 10:37:03 -05:00
Kent Holloway 2cf7e694bc Fix for panic when ssh min and max port is the same for qemu builder. Taken directly from a previous patch by mitchellh 8f50d2dd9a 2014-10-03 10:14:02 -05:00
Vasiliy Tolstov e614a8c3d5 remove debug output
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-03 01:47:51 +04:00
Vasiliy Tolstov 90077c6e05 Merge branch 'digitalocean' of github.com:vtolstov/packer into digitalocean 2014-10-03 00:04:33 +04:00
Vasiliy Tolstov f4c756a2cb fix copy/paste error
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-03 00:02:46 +04:00
Mikhail Zholobov 48c64b05cb builder/parallels: Init VM without hdd and attach it later
Avoid the disk resize because it is unsupported for some guests (OS X)
http://kb.parallels.com/en/113653
2014-10-01 16:13:46 +04:00
mafro ed07fb63e4 salt provisioner: tidy up and refactor into functions 2014-10-01 12:31:58 +10:00
mafro e7a46d97c0 salt provisioner: require local_state_tree 2014-10-01 12:31:58 +10:00