Commit Graph

4742 Commits

Author SHA1 Message Date
Mitchell Hashimoto 41e160ccda Merge pull request #2347 from grange74/master
#2346 updated to AMI that doesn't require accepting marketplace terms
2015-06-29 09:22:51 -07:00
Mitchell Hashimoto aab5ca7059 update CHANGELOG 2015-06-29 09:22:33 -07:00
Mitchell Hashimoto 60fabe64e1 Merge pull request #2348 from emate/fix-for-ami-permission-setting
builder/aws: fix adding launch permissions for created ami.
2015-06-29 09:21:36 -07:00
Emil Hessman a3fa7cdce3 Add AppVeyor configuration file
Packer lacks an official Windows CI server.
This commit adds a configuration file for AppVeyor, which is a Windows CI
service (free for open-source projects).
2015-06-29 18:14:45 +02:00
Marcin Matlaszek 3eaf7f38b0 Fix adding launch permissions for created ami. 2015-06-29 15:39:27 +02:00
nick.grange 5c64f7f7cf #2346 updated to ami that doesn't require accepting marketplace terms
Updated to same ami as in main readme.md which is from community AMIs
and therefore doesn't require accepting the AWS marketplace terms
before using in Packer build.
2015-06-29 23:10:56 +10:00
Chris Bednarski 94e1f83070 Added a black-box acceptance test for -only and -except build flags 2015-06-27 00:47:50 -07:00
Chris Bednarski eee066371a Support -flag=var1,var2,var3 to fix #2332 2015-06-26 17:54:59 -07:00
Ben Wen aa84f9eeb5 Tips for debugging a build. 2015-06-26 15:18:45 -07:00
Chris Bednarski 355364ce4c Change some outdate references to Vagrant Cloud to point to Atlas instead 2015-06-26 14:59:01 -07:00
Chris Bednarski 18e29e0f2b Merge pull request #2331 from mitchellh/b-awsami
Change docs usage of aws.ami to amazon.ami to be consistent with terraform
2015-06-26 14:44:27 -07:00
Tom Cahill 6644d76982 Use aws.String to obtain string pointers 2015-06-26 12:08:44 -07:00
Tom Cahill 016d916d83 Fix adding groups to AMI launch permissions.
Previously, groups were granted launch permissions by submitting a
ModifyImageAttribute request with the UserGroups parameter set
appropriately. This is no longer valid, as the LaunchPermission
parameter must be set.
2015-06-26 10:52:27 -07:00
Mark Peek d8b6c94012 Fix typo: diabled -> disabled 2015-06-26 10:52:21 -07:00
Chris Bednarski daf563e210 Change aws.ami to amazon.ami to be consistent with usage in terraform 2015-06-26 10:22:15 -07:00
Clint e112d9b288 Update CHANGELOG.md 2015-06-26 11:11:46 -05:00
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