Commit Graph

4776 Commits

Author SHA1 Message Date
Clint d740bad640 Merge pull request #2330 from mitchellh/b-amazon-instance-virt
builder/amazon-instance: Don't specify empty Virtualization Type
2015-06-26 11:10:54 -05:00
Clint Shryock 4d003aa5a3 builder/amazon-instance: Don't specify empty Virtualization Type 2015-06-26 10:43:13 -05:00
Marcin Matlaszek 586cab11ee Fixes spot instance cleanup. 2015-06-26 15:29:46 +02:00
Israel Shirk 88fac0b49c Have nonesum run stat rather than nonesum because nonesum sums none. k. 2015-06-25 19:03:00 -06:00
Peter Doherty 5896d96bdb Update docs for default configuration template
Update docs for default configuration template for the chef-client provisioner, to reflect the ability to set a custom validation_client_name
2015-06-25 16:03:24 -04:00
Clint fe0fde195d Update CHANGELOG.md 2015-06-25 14:51:01 -05:00
Clint 9805c10c87 Merge pull request #2320 from tommyulfsparre/block-device-mapping
InvalidBlockDeviceMapping
2015-06-25 14:50:09 -05:00
Tommy Ulfsparre 8ae0cfc759 copy and convert to pointer 2015-06-25 20:07:45 +02:00
Clint dd1fdc722a Update CHANGELOG.md 2015-06-25 10:18:56 -05:00
Clint 7b9d48799e Merge pull request #2316 from jjappi/fix-aws-tagging
Fix failing AMI snapshot tagging when copying to other regions.
2015-06-25 10:17:34 -05:00
Clint d5c17734b8 Merge pull request #2317 from emate/fix-for-amazon-builder-instance-tags
Fix for tag creation when creating new ec2 instance.
2015-06-25 10:11:41 -05:00
Marcin Matlaszek dd97a60c9b Fix for tag creation when creating new ec2 instance. 2015-06-25 17:02:38 +02:00
Jani Jappinen c537623bc6 Fix failing AMI snapshot tagging when copying to other regions. 2015-06-25 17:25:28 +03:00
Chris Bednarski 6bb480e2f7 Merge pull request #2313 from mitchellh/b-compress-crash 2015-06-24 21:49:30 -07:00
Chris Bednarski eba28519db Move vars to the top and cleanup extra whitespace 2015-06-24 18:29:32 -07:00
Chris Bednarski 1831a09055 Fix compress crash
- Changed config from pointer to value to fix crash
- Removed acceptance flag from compress tests since they would have
caught this
2015-06-24 17:47:00 -07:00
Clint f765d57009 Update CHANGELOG.md 2015-06-24 13:25:08 -05:00
Clint a2c9b2da8f Merge pull request #2308 from mitchellh/b-amazon-ami-sharing-fix
builder/amazon: Fix issue with sharing AMIs with ami_users
2015-06-24 13:23:10 -05:00
Clint Shryock 7af5d5419a builder/amazon: Fix issue with sharing AMIs with ami_users 2015-06-24 11:41:58 -05:00
Mitchell Hashimoto fbf7db0418 Merge pull request #2307 from mitchellh/b-docs-dashes
clean up character encodings
2015-06-24 08:29:24 -07:00
Clint Shryock def6f8aefc clean up character encodings 2015-06-24 10:28:01 -05:00
Schreiter, Wulf-Thilo 18438cf291 Add knife config by template
Since the chef-client provisioner is cleaning the node and client at the chef-server from the provisioned node
it needs to have a flexible configuration

This is replacing the used knife flags: -s '<chef-server-url>' -k '/tmp/packer-chef-client/client.pem' -u '<client-name>'
and puts their values into a generated knife.rb

Additionally the knife.rb may include the optional ssl_verify_mode attribute to enable the verify mode verify_none

Background:

When deleting node and client to a self-hosted chef-server using self signed cerfiticates the usage of

    knife node delete <node-name> -y -s '<chef-server-url>' -k '/tmp/packer-chef-client/client.pem' -u '<client-name>'

will lead into a ssl verification failure.

The error output of the knife call is somthing like:

    2015/06/24 12:29:17 ui:     docker: WARNING: No knife configuration file found
    docker: WARNING: No knife configuration file found
    2015/06/24 12:29:17 ui:     docker: ERROR: SSL Validation failure connecting to host: 172.16.117.63 - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
    certificate verify failed
    docker: ERROR: SSL Validation failure connecting to host: 172.16.117.63 - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    2015/06/24 12:29:17 ui:     docker: ERROR: Could not establish a secure connection to the server.
    docker: ERROR: Could not establish a secure connection to the server.
    2015/06/24 12:29:17 ui:     docker: Use 'knife ssl check' to troubleshoot your SSL configuration.
    docker: Use 'knife ssl check' to troubleshoot your SSL configuration.
    2015/06/24 12:29:17 ui:     docker: If your Chef Server uses a self-signed certificate, you can use
    docker: If your Chef Server uses a self-signed certificate, you can use
    2015/06/24 12:29:17 ui:     docker: 'knife ssl fetch' to make knife trust the server's certificates.
    docker: 'knife ssl fetch' to make knife trust the server's certificates.
    2015/06/24 12:29:17 ui:     docker:
    docker:
    2015/06/24 12:29:17 ui:     docker: Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    docker: Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    2015/06/24 12:29:17 packer-builder-docker: 2015/06/24 12:29:17 Executed command exit status: 100
2015-06-24 15:22:59 +02:00
Mitchell Hashimoto 8f0e28fae1 Merge pull request #2302 from jfbrown/update-do-getting-started-docs
website: Fix DigitalOcean section of getting started docs.
2015-06-23 22:20:25 -07:00
John (Jack) Brown 49664ca9c6 Fix DigitalOcean section of getting started docs.
This updates the example for adding DigitalOcean
as a provider in the beginning tutorial. It looks
like it hadn't been updated in some time, and
was using old settings. I've updated it and
confirmed it works.
2015-06-23 22:10:04 -07:00
Mitchell Hashimoto 67fed8e802 Merge pull request #2299 from mitchellh/f-agent-disable
helper/communicator: support disabling SSH agent
2015-06-23 15:16:10 -07:00
Mitchell Hashimoto a019575026 helper/communicator: support disabling SSH agent 2015-06-23 14:52:37 -07:00
Mitchell Hashimoto 32f469dc9a up version fo dev 2015-06-23 14:49:56 -07:00
Mitchell Hashimoto c0bc74990b website: note SSH forwarding 2015-06-23 14:49:36 -07:00
Mitchell Hashimoto 3cc90768a2 website: update docs to link to communicator 2015-06-23 14:44:57 -07:00
Mitchell Hashimoto 4244a6ce8d website: communicator section 2015-06-23 14:39:29 -07:00
Mitchell Hashimoto 0ed15e039a website: fix the abnormally large image sizes 2015-06-23 14:02:29 -07:00
Mitchell Hashimoto b06158aeea website: update homepage copy 2015-06-23 14:01:02 -07:00
Mitchell Hashimoto 88e689faa2 v0.8.0 2015-06-23 10:59:34 -07:00
Clint c8d451dda2 Update CHANGELOG.md 2015-06-23 12:11:38 -05:00
Clint 5b67472d07 Merge pull request #2296 from mitchellh/f-amazon-chroot-mount-options
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:55:56 -05:00
Mitchell Hashimoto 230691bb2f update CHANGELOG 2015-06-23 09:34:47 -07:00
Clint Shryock 3a54e6899d code cleanup 2015-06-23 11:34:42 -05:00
Mitchell Hashimoto 3fac725a55 Merge pull request #2291 from mitchellh/b-qemu-default
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-23 09:34:07 -07:00
Clint Shryock 24106de378 builder/amazon-chroot: document mount_options config 2015-06-23 11:31:43 -05:00
Clint Shryock 29cef0eae4 builder/amazon-chroot: add mount_options configuration option 2015-06-23 11:26:13 -05:00
Clint 3884555007 Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
builder/amazon-chroot: various fixing and debugging of chroot builder
2015-06-23 10:53:02 -05:00
Clint Shryock 44dc977cb8 document root_volume_resize for amazon-chroot 2015-06-23 10:52:42 -05:00
Mitchell Hashimoto a8166d4765 Merge pull request #2292 from vtolstov/file
fix file download provisioner
2015-06-23 08:51:17 -07:00
Mitchell Hashimoto d429b75fcc post-processor/vagrant: fix interpolation 2015-06-23 08:39:57 -07:00
Clint Shryock 5d2ea088a2 builder/amazon-chroot: add root_volume_size to resize chroot root volume 2015-06-23 10:35:59 -05:00
Mitchell Hashimoto ec9be0928b Merge pull request #2294 from vtolstov/docker
allow import qemu builded artifacts
2015-06-23 08:18:35 -07:00
Clint Shryock 8a9a59c3ca check if newDevice.EBS is nil 2015-06-23 09:11:29 -05:00
Vasiliy Tolstov 2b36bcc502 allow import qemu builded artifacts
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 14:28:03 +03:00
Vasiliy Tolstov 036c9ddf7c fix file download provisioner
when file used with download direction we don't need
to check source on builder because it on machine.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 12:27:27 +03:00
Clint Shryock 9f8b0041f0 builder/amazon-chroot: use source image virtualization type, unless specified 2015-06-22 22:08:31 -05:00