Commit Graph

6123 Commits

Author SHA1 Message Date
Eric Johnson 95cffcae78 Merge pull request #3639 from crunk1/master
Adding support for googlecompute startup scripts.
2016-07-27 08:48:01 -07:00
Robert Tarrall 94bf981d3b Honor ssh_private_ip flag in EC2-Classic, not just VPC
VpcId will be nil in Classic, but we may still wish to ssh to the
instance's private IP address -- if for example we are using security
groups to block SSH access via the public IP.
2016-07-26 08:15:44 -06:00
Chris Bednarski f9cea9edd1 Merge pull request #3651 from mitchellh/f-manifest-post-processor
Manifest post processor
2016-07-21 15:55:47 -07:00
Scott Crunkleton 7190fbeed8 Adding support for googlecompute startup scripts.
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.

Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
Christopher Boumenot 37fe764727 Merge pull request #3716 from boumenot/pr-3680-update-azure-sdk
Update Azure dependencies.
2016-07-20 14:26:08 -07:00
Christopher Boumenot 97b1915d51 Update Azure dependencies
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * import dgrijalva/jwt-go at 3.0.0
2016-07-20 14:21:40 -07:00
Christopher Boumenot 323dc70ed6 Merge remote-tracking branch 'origin/master' into pr-3680-update-azure-sdk 2016-07-20 12:08:28 -07:00
Christopher Boumenot 6e9ef1c6eb Use WithBaseURI 2016-07-20 11:23:51 -07:00
Cameron Stokes 923375cdbc Clarify googlecompute#metadata usage. 2016-07-20 11:12:20 -07:00
Christopher Boumenot 7d259ab098 Update Azure dependencies.
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * dgrijalva/jwt-go to 3.0.0

Add the German cloud configuration.
Ensure the different cloud URLs are _actually_ used.
2016-07-20 10:47:46 -07:00
Christopher Boumenot ddef181e76 Merge pull request #3724 from boumenot/pr-azure-lint
Azure: Lint issues
2016-07-19 12:31:23 -07:00
Chris Bednarski c0b637b0c5 Merge pull request #3733 from envato/no-shutdown-behaviour-instance-backed
No shutdown behaviour instance backed
2016-07-19 01:49:05 -07:00
Chris Bednarski 417a9bb89f Merge pull request #3710 from cmoscardi/privileged-doc
Docker builder: Adding privileged config variable to documentation.
2016-07-18 18:31:33 -07:00
Chris Bednarski 3eaaba37c1 Merge pull request #3712 from sijis/fix/docs_3711
Remove Communicator section from amazon-chroot docs
2016-07-18 18:31:17 -07:00
Chris Bednarski d5238b957d Merge pull request #3718 from Adron/patch-1
GCE: Docs - changed basic level example so it can be copied & pasted
2016-07-18 18:30:50 -07:00
Chris Bednarski f65465bbb1 Merge pull request #3729 from Akasurde/3387
Removed redundant print message
2016-07-18 18:26:27 -07:00
Abhijeet Kasurde ba0f202258 Removed redundant print message from post-processor/vsphere
Fixes: https://github.com/mitchellh/packer/issues/3387

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2016-07-18 22:53:05 +05:30
Christopher Boumenot 408fe9bc18 Lint issues 2016-07-15 22:42:49 -07:00
Christopher Boumenot c575e60f67 Merge pull request #3693 from boumenot/pr-approvals
Update to an official version of Approvals
2016-07-15 21:34:24 -07:00
Christopher Boumenot e33a325323 Use VerifyJSONStruct 2016-07-15 21:31:03 -07:00
Christopher Boumenot 31b5cee287 Add Approvals dependency 2016-07-15 21:21:23 -07:00
Christopher Boumenot 99fd1a122b Merge pull request #3721 from boumenot/pr-vault-response
Azure: Ignore Created and Updated in KeyVault GetSecret Response
2016-07-15 21:09:39 -07:00
Christopher Boumenot c7262d6426 Ignore Created and Updated
The Azure response has changed, and is breaking the code's ability to
properly deserailize the response.
2016-07-15 21:06:03 -07:00
Adron Hall c4b93d00ad Format change to spaces vs. tabs. & indentation cleanup. 2016-07-14 14:54:02 -07:00
Adron Hall a7de9d9a2f Changed based level example so it can be copied.
The base level example doesn't actually work unless enclosed with a "builders" section. All fixed now.

Previous:

    {
      	"type": "googlecompute",
		"account_file": "account.json",
		"project_id": "my project",
		"source_image": "debian-7-wheezy-v20150127",
		"zone": "us-central1-a"
    }

Now:

	{
	  "builders": [
	    {
	      	"type": "googlecompute",
			"account_file": "account.json",
			"project_id": "my project",
			"source_image": "debian-7-wheezy-v20150127",
			"zone": "us-central1-a"
	    }
	  ]
	}
2016-07-14 07:05:46 -07:00
Sijis Aviles bd6c0dbde0 Remove Communicator section from amazon-chroot docs
Closes #3711
2016-07-12 13:26:44 -05:00
Christian Moscardi 874ff0eaa7 Adding privileged config variable to documentation. 2016-07-12 10:40:26 -04:00
Christopher Boumenot 130cea91d4 Update to an official version of Approvals
The in-project version of Approvals has been moved to its own GitHub
project under the offcial umbrella.  This PR snaps to that version of the
code.an official version of Approvals

The in-project version of Approvals has been moved to its own GitHub
project under the offcial umbrella.  This PR snaps to that version of the
code.
2016-07-11 15:04:41 -07:00
Christopher Boumenot 2e949bf43d Merge pull request #3697 from arafato/patch-1
fixed typo that breaks validation
2016-07-08 05:33:46 -07:00
arafato 9f35d86f99 fixed typo that breaks validation 2016-07-08 14:24:07 +02:00
Chris Bednarski 32cbb515b5 Merge pull request #3692 from mohae/3474-file-mkdir-all
3474 file mkdir all
2016-07-07 16:44:15 -07:00
Joel Scoble 94d158b0b7 remove debug fmt.Print from test 2016-07-07 18:12:54 -05:00
Chris Bednarski 6eedd4d710 Merge pull request #3650 from tomdev/patch-1
Add comment on required subnet_id when using vpc_id
2016-07-07 12:54:53 -07:00
Chris Bednarski 76676bf4ba Merge pull request #3690 from ricardclau/better_ansible_tests
Actually check for errors in Ansible functional tests
2016-07-07 12:42:25 -07:00
Ricard Clau 049fb2d9c1 actually check for errors in functional tests 2016-07-07 20:01:23 +01:00
Chris Bednarski da80c60e84 Merge pull request #3641 from rrzaripov/website-fix-default-remote-path-windows-shell
Clarifying defaults remote_path for powershell and windows-shell prov…
2016-07-06 23:24:02 -07:00
Chris Bednarski eb8a3dc663 Merge pull request #3686 from ricardclau/test_ansible_verbose_output
Adding a functional test with an Ansible message very long
2016-07-06 23:23:30 -07:00
Chris Bednarski ac78b57ed0 Merge pull request #3668 from epowell/master
Add new interface method to the 'none' communicator
2016-07-06 17:25:21 -07:00
Chris Bednarski b062c76ca3 Merge pull request #3672 from yoctocloud/checksum
post-processor/checksum: create dir for output file
2016-07-06 17:24:45 -07:00
Ricard Clau 0c81e49f83 Adding a functional test with an Ansible message very long 2016-07-07 01:12:57 +01:00
Chris Bednarski 9c38f954ed Merge pull request #3684 from ricardclau/add_ami_output
add source ami to output
2016-07-06 16:30:25 -07:00
Chris Bednarski 48edc50e7c Merge pull request #3685 from mitchellh/docs-contrib
Added a note about pushing and pull-requesting
2016-07-06 16:29:42 -07:00
Chris Bednarski 09f94c9e18 Added a note about pushing and pull-requesting 2016-07-06 16:28:00 -07:00
Ricard Clau 172a1c7a57 add source ami to output 2016-07-07 00:05:59 +01:00
Chris Bednarski 664e640257 Merge pull request #3392 from msteinhoff/fix-ansible-provisioner-long-lines
Fix Scanner buffer too long error in ansible-remote provisioner
2016-07-06 15:27:57 -07:00
Vasiliy Tolstov 83f175cac7 builder/qemu: dont fail on communicator - none
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-07-07 00:49:23 +03:00
Chris Bednarski ee5c5260a4 Merge pull request #3663 from liv3d/add_ap-south-1
Add support for ap-south-1 in AWS
2016-07-06 14:09:24 -07:00
Rickard von Essen 4d41a8697c Updated CHANGELOG.md 2016-07-06 23:00:08 +02:00
Rickard von Essen cd0620d1f8 Merge pull request #3673 from rickard-von-essen/prl-support-future-ver
Support future versions of Parallels by using the latest driver
2016-07-06 22:58:01 +02:00
Joel Scoble 999b8b2ed0 file provisioner: download should create all dirs in the destination path 2016-07-06 15:42:26 -05:00