Commit Graph

5980 Commits

Author SHA1 Message Date
Rickard von Essen 66aef1487d Merge pull request #3780 from inntran/ipad-doc-optimize
Optimize Packer document view for iPad portrait mode
2016-08-14 15:17:23 +02:00
Rickard von Essen 3ab7db6168 Merge pull request #3791 from tubadude49/patch-1
Fix plural in template docs.
2016-08-10 08:01:12 +02:00
tubadude49 14c73a837d Plural 2016-08-09 16:24:17 -05:00
Seth Vargo 50330b8e69 Merge pull request #3786 from mitchellh/sethvargo/link
Update links to serf
2016-08-08 12:45:31 -04:00
Seth Vargo 47523f375d
Update links to serf 2016-08-08 12:45:23 -04:00
Yinchuan Song 9de769604a Optimize Packer document view for iPad portrait mode
- reduced margin, padding, line-height of several elements
- created iPad specific media selector
- removed unnecessary spaces around headers and list elements
- reduced code font size to 12px
- removed unnecessary optimization of page footer for tablets
2016-08-05 02:19:02 -07:00
Eric Johnson 0e334e67be Merge pull request #3774 from evandbrown/google-external-ip-optional
builder/googlecompute: provision VM without external IP address
2016-08-02 15:39:01 -07:00
Evan Brown a5c598264f builder/googlecompute: Support provisioning VM without external IP address
This change adds an `omit_external_ip` configuration property that, when true,
will cause no external IP address to be associated with the Google Compute
Engine VM provisioned to create an image. When using `omit_external_ip`, you
must also set the `use_internal_ip` configuration property to true.

Addresses #3296
2016-08-02 13:43:04 -07:00
Christopher Boumenot 6563bbc854 Merge pull request #3764 from boumenot/pr-azure-tags
azure: tag all resources
2016-08-02 11:30:39 -07:00
Christopher Boumenot ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
Chris Bednarski 644b11805d Fix go vet casing issue 2016-07-30 17:10:16 -07:00
Christopher Boumenot b7954bc5d9 Merge pull request #3683 from boumenot/pr-private-ip
azure: Support for a user defined VNET.
2016-07-28 21:36:35 -07:00
Christopher Boumenot 871ca8c3d9 azure: Support for a user define VNET.
Two new configuration options have been exposed to allow users to specify
an existing virtual network: virtual_network_name and
virtual_network_resource_group_name.

 * virtual_network_name: name of the virtual network to attach a Packer VM
 to.

 * virtual_network_resource_group_name: name of the resource group that
 contains the virtual network.  This value is optional.  If the value is
 not specified, the builder queries Azure for the appropriate value.  If
 the builder cannot disambiguate the value, a value must be provided for
 this setting.

 * virtual_network_subnet_name: name of the subnet attached to the virtual
 network.  This value is optional.  If the value is not specified, the
 builder queries Azure for the appropriate value.  If the builder cannot
 disambiguate the value, a value must be provided for this setting.
2016-07-28 21:31:59 -07:00
Eric Johnson 95cffcae78 Merge pull request #3639 from crunk1/master
Adding support for googlecompute startup scripts.
2016-07-27 08:48:01 -07: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
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