Commit Graph

5522 Commits

Author SHA1 Message Date
Matt Black 33071150c1 Salt provisioner: option to set logging level on Salt highstate run 2016-01-26 13:09:15 +00:00
Matt Black 9ccf298be9 Salt provisioner: option to ignore salt highstate failures fixes #2486 2016-01-26 13:09:15 +00:00
Matt Black 5cd15b52c5 Salt provisioner: dynamic command line args passed onto salt-call fixes #2652 2016-01-26 13:09:15 +00:00
Matt Black 7cb802f8a0 Salt provisioner: improved inputs validation 2016-01-26 13:09:15 +00:00
Jose Cardoso 096b42abce Added support for spaces in vSphere resource pools 2016-01-26 09:41:30 +00:00
Chris Bednarski 4490826a17 Merge pull request #3040 from kimor79/3011
Add mount_partition option to amazon-chroot builder
2016-01-25 22:08:07 -08:00
Chris Bednarski cb5c5b4f42 Added iso_skip_cache and pre-build resource validation to changelog 2016-01-25 21:07:44 -08:00
Chris Bednarski ffb85f6ea5 Merge pull request #3096 from grubernaut/f-resource-limits
Prevalidate Hardware Specs on Linux
2016-01-25 21:06:14 -08:00
Chris Bednarski 4aa59e4999 Merge pull request #3105 from vtolstov/iso_cache
qemu: allow to use live iso without cache
2016-01-25 21:03:27 -08:00
Chris Bednarski e8503b0ff2 Merge pull request #3107 from yetanotherchris/patch-1
vsphere post-processor.go - support for spaces
2016-01-25 10:37:06 -08:00
Jake Champlin 6e8bfd3ce9 Correctly call prepare function in test 2016-01-25 12:54:15 -05:00
Jake Champlin f01578c91e Only validate vmware resources on local hosts
Disable resource validation when `remote_type` is specified
2016-01-25 12:01:56 -05:00
Chris S 195405ca5b Update post-processor.go
Added support for spaces for vm folders, datastore names etc. in the ovftool command line arguments.
2016-01-25 17:00:30 +00:00
Vasiliy Tolstov d96283e475 qemu: allow to use live iso without cache
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-01-25 10:44:42 +00:00
Seth Vargo cd4a70f846 Add structured data 2016-01-24 13:11:58 -05:00
Seth Vargo 631036caea Remove breadcrumbs (causes crash and wasn't being used) 2016-01-24 13:11:51 -05:00
Chris Bednarski a0b30dcf59 Merge pull request #3100 from msabramo/docs_user_variable_example_conditional_provisioner
docs: Add example of conditional provisioner
2016-01-23 21:43:48 -08:00
Chris Bednarski 9ec9adb3ff Merge pull request #3099 from tylert/frob-shell-doc-markup
Use monospaced-font for remote_path and start_retry_timeout string de…
2016-01-22 11:07:23 -08:00
Marc Abramowitz dec48aa9c1 Add example of conditional provisioner
to user-variable docs
2016-01-22 10:38:25 -08:00
Tyler Tidman 520e0fb7f5 Use monospaced-font for remote_path and start_retry_timeout string defaults 2016-01-22 12:46:00 -05:00
Chris Bednarski b7ba9a507d Merge pull request #3041 from msabramo/GH-3038_openstack_builder_auto_set_image_type_to_image
openstack builder: Set image_type to "image"
2016-01-21 18:39:08 -08:00
Jake Champlin eda84cb2d3 Prevalidate Hardware Specs on Linux
Prevalidates hardware resources on Linux platforms for Virtualbox and
VMware builders. This is currently only available on Linux, as enabling
for both Darwin and Windows platforms, relies on cgo bindings that would
prevent effective cross-compilation.

Packer will now fail to build and validate templates if the template is
requesting that the VM to be created would allocate more system
resources than the host system has available.

This _however_ doesn't catch parallel builds that overflow the hosts
resources, will probably still need a better error message for VM's
failing to boot in that case.

Example Outputs:

```
$ $GOPATH/bin/packer build -debug ./vmware-iso.json
Debug mode enabled. Builds will not be parallelized.
vmware-iso output will be in this color.

2 error(s) occurred:

* Unavailable Resources: RAM - Requested - 204800000MB - Available 21721MB
* Unavailable Resources: Disk - Requested - 4000000000MB - Available 76701MB
```

```
$ $GOPATH/bin/packer build -debug ./vbox-iso.json
Debug mode enabled. Builds will not be parallelized.
virtualbox-iso output will be in this color.

2 error(s) occurred:

* Unavailable Resources: RAM - Requested - 10240000MB - Available 21721MB
* Unavailable Resources: Disk - Requested - 1000000000MB - Available 76701MB
```
2016-01-21 18:19:11 -05:00
Chris Bednarski 9358e8c355 Merge branch 'hotfix/rearrange_vmx_cleanup' of https://github.com/israelshirk/packer into b-2709 2016-01-21 13:36:02 -08:00
Chris Bednarski 1a5d5acea4 Merge pull request #2737 from jen20/ebs-volume-tags
Tag EBS volumes with volume_tags in EBS builder
2016-01-21 13:29:49 -08:00
Chris Bednarski db0e098800 Merge pull request #2750 from rickard-von-essen/issue-2743
Fixes #2743: Change log messages for step_forward_ssh
2016-01-21 13:28:44 -08:00
Chris Bednarski 9dc4c0a7d1 Merge pull request #2761 from stagrlee/master
More documentation for ssh_keypair_name,  ssh_private_key_file
2016-01-21 13:27:36 -08:00
Chris Bednarski 6587926a2b Merge pull request #2848 from epowell/master
Implement a null-object communicator for 'none'
2016-01-21 12:44:36 -08:00
Chris Bednarski d6c02f5aeb Change test to use something that looks like a real region code 2016-01-21 11:29:39 -08:00
Chris Bednarski 1f8ebab4de There's no Warn, only Say 2016-01-20 15:30:16 -08:00
Chris Bednarski 1b1d0f12e9 Merge pull request #3084 from tylert/vagrant-install-go-binary
Install go binary and make sure it's in the path for vagrant
2016-01-20 09:13:57 -08:00
Chris Bednarski d6fad30162 Merge pull request #2955 from yayugu/feature/ami_product_codes
Add AMI Product Codes modification for amazon-ebs & amazon-chroot
2016-01-20 09:13:09 -08:00
Chris Bednarski 812f5c4acb Merge pull request #3093 from brentrojas/patch-1
Update push.html.markdown
2016-01-20 09:09:55 -08:00
Brent Rojas 88c40c5d41 Update push.html.markdown
Remove unneeded word.
2016-01-19 21:54:32 -08:00
Chris Bednarski 7396bb2090 Merge pull request #3091 from ryanuber/f-googlecompute-imagename
builder/googlecompute: fix image name defaults
2016-01-19 11:23:03 -08:00
Ryan Uber 7732cf45a0 builder/googlecompute: fix image name defaults 2016-01-19 11:12:19 -08:00
Tyler Tidman 1356885894 Add another dependency back; Try to make installing go more idempotent 2016-01-17 12:40:12 -05:00
Tyler Tidman 24cf4a485e Make appveyor happy and try to repeat less in the vagrant inline script 2016-01-16 20:04:42 -05:00
Tyler Tidman 7f1f91d2a3 Install go binary and make sure it's in the path for vagrant 2016-01-16 19:42:28 -05:00
Chris Bednarski 76c49f6ed0 Remove errant trailing slash from blog URL 2016-01-15 13:41:29 -08:00
Chris Bednarski ce1bd9cf67 Merge pull request #3078 from tylert/vagrant-freshen
Freshen up the vagrant box used;  Add missing dependency from readme
2016-01-15 13:31:25 -08:00
Tyler Tidman 81eea8ca8c Freshen up the vagrant box used; Add missing dependency from readme 2016-01-15 16:19:21 -05:00
Chris Bednarski e847f23339 Merge pull request #3077 from tylert/vagrant-box-recycling
Update the vagrant box used
2016-01-15 12:45:08 -08:00
Tyler Tidman 7c5f066af6 Update the vagrant box used 2016-01-15 15:41:45 -05:00
Chris Bednarski 46e36a3528 Merge pull request #2703 from kpettijohn/chef-client-local-mode-example
docs: chef-client local mode example
2016-01-14 17:29:22 -08:00
Chris Bednarski 295bf847db Merge pull request #3066 from dave2/gh-3052
Update docs to reflect current AMI IDs and instance sizes
2016-01-14 17:23:49 -08:00
Chris Bednarski d61871c71b Merge pull request #2878 from mitchellh/b-remove-push-m
Deprecate push -m
2016-01-14 17:18:27 -08:00
Chris Bednarski d8953e48d4 Change log to Ui.Warn and restore the removed functionality for now 2016-01-14 17:18:02 -08:00
Chris Bednarski 1728f3cb31 Add ESXi delete loop bugfix to changelog 2016-01-14 17:14:17 -08:00
Chris Bednarski ab721b7cb1 Merge pull request #2898 from markpeek/http-refactor
Refactor http server config into common
2016-01-14 17:10:17 -08:00
Chris Bednarski e6f1ea9ab2 Merge pull request #2911 from jtslear/endless-loop
vmware-iso-builder: Corrects logic checking destroy
2016-01-14 15:00:34 -08:00