Commit Graph

3138 Commits

Author SHA1 Message Date
stefanlasiewski 55c85568a9 Merge branch 'master' of github.com:stefanlasiewski/packer 2014-07-18 10:25:56 -07:00
stefanlasiewski 228392fc8f Merge branch 'master' of github.com:stefanlasiewski/packer 2014-07-18 10:24:48 -07:00
stefanlasiewski fc1fe794ae Merge branch 'master' of github.com:stefanlasiewski/packer 2014-07-18 10:22:47 -07:00
stefanlasiewski 47f073c442 Problem: Docs should mention the comma after `"builders": [...]`
While running through the getting-started examples, I ran into a strange
error:

	packer $ packer validate example.json
	Failed to parse template: Error in line 16, char 2: invalid character
	'"' after object key:value pair
	  "provisioners": [{
	packer $

The error was not immediately obvious, as this is my first time working
with Packer, and like many users this also happens to be my first time
working with JSON.

Solution:

I was missing a comma after the 'builders' configuration. I'm sure this
is a common problem, so let's specifically mention that in the document.
2014-07-18 10:20:31 -07:00
stefanlasiewski 073a813e88 Problem:
While running through the getting-started examples, I ran into a strange
error:

	packer $ packer validate example.json
	Failed to parse template: Error in line 16, char 2: invalid character
	'"' after object key:value pair
	  "provisioners": [{
	packer $

The error was not immediately obvious, as this is my first time working
with Packer, and like many users this also happens to be my first time
working with JSON.

Solution:

I was missing a comma after the 'builders' configuration. I'm sure this
is a common problem, so let's specifically mention that in the document.
2014-07-18 10:15:05 -07:00
Kane Rogers 267876d3b3 Fixed Rackspace example
As per https://github.com/mitchellh/packer/issues/1142, it's critical to add openstack_provider: rackspace in order to get anything to work reliably with Rackspace and Packer in 6.0.

Question: should the openstack_provider field now be marked as required?
2014-07-18 10:43:21 +10:00
Tehmasp Chaudhri 9cf711cfcb Fixed typo 2014-07-17 16:41:58 -06:00
Misha Brukman c75a671c1e Cleaned up Go formatting with gofmt. 2014-07-17 15:33:09 -04:00
Florian Noeding de29431a43 null-builder: added support for templating 2014-07-17 17:46:22 +02:00
Florian Noeding e932ec6978 amazon builders now handle templating of user_data and user_data_file 2014-07-17 17:45:25 +02:00
Ross Smith II 79d55c20b3 Merge pull request #1340 from tehmaspc/tehmaspc_chefserver_https_endpoint_doc_update
[DOC] Changed to reflect the new httpS endpoint for Chef, since Chef 11.x
2014-07-16 20:17:59 -07:00
Tehmasp Chaudhri 49e5b9d21d Changed to reflect the new httpS endpoint for Chef, since Chef 11.x 2014-07-16 16:49:26 -06:00
Hiroaki Nakamura 7549735bd3 Accept VirtualBox release candidate version (ex. 4.3.14_RC1 from 4.3.14_RC1r94870) 2014-07-12 19:08:10 +09:00
Jack Pearkes a03cf62a29 website: add warning to vagrant-cloud docs 2014-07-11 14:27:24 -04:00
Ross Smith II a2dd87795d Update CHANGELOG.md
**New post processor:** `vagrant-cloud` - Push box files generated by
    vagrant post processor to Vagrant Cloud. [GH-1289]
2014-07-11 07:28:24 -07:00
Ross Smith II 197c8664dd Update CHANGELOG.md
provisioner/chef-*: Fix remotePaths for Windows [GH-394]
2014-07-11 07:23:04 -07:00
Ross Smith II dab4d7824b Merge pull request #1329 from OpsRockin/chef-local-paths-on-windows
Fix remotePaths when provisioning Linux from Windows
Fixes #394
2014-07-11 07:19:22 -07:00
Ross Smith II aa844ef4c7 Update vagrant-cloud.html.markdown
alphabetize options
2014-07-11 06:21:16 -07:00
sawanoboly 18dddb516b Fix remotePaths when provisioning Linux from Windows 2014-07-11 19:12:34 +09:00
Mitchell Hashimoto 3bdd9ccb86 Merge pull request #1289 from mitchellh/vagrant-cloud-post-processor
Vagrant Cloud Post-Processor
2014-07-10 11:44:25 -07:00
Ross Smith II cbfb6ec307 Update CHANGELOG.md 2014-07-05 07:03:33 -07:00
Ross Smith II 418ed0cb3f Merge pull request #1316 from yuuzi41/fix-esx5-path-separator
fix invalid esx5 path separator in windows
2014-07-05 07:00:29 -07:00
yuuzi41 982e523ba2 fix invalid esx5 path separator in windows
before, this code had joining path elements by filepath module. filepath module generate path string with backslash-joined in Windows. but ESX require path string with slash-joined. it means that this code generate illegal path string in windows. illegal path string raised "Error creating disk".

this patch fixes path separator from backslash to slash in windows. from this, creating disk would succeed without error.
2014-07-02 21:55:47 +09:00
Ross Smith II 5d0cd9676a Merge pull request #1307 from lflux/better-serverbyid-fix
Replace ListServers hack with update ServerById
2014-07-01 06:40:19 -07:00
Ian Delahorne 0da4aa6f24 Replace ListServers hack with update ServerById
[gophercloud#168](https://github.com/rackspace/gophercloud/issues/168) has been
patched to not panic on non-existing server id's. If an error is returned,
check if the error is a 404 first before bailing.
2014-06-30 19:51:48 -05:00
Ross Smith II 25ff0f04e6 Update CHANGELOG.md
builder/openstack: Workaround for gophercloud.ServerById crashing [GH-1257]
2014-06-30 10:58:41 -07:00
Ross Smith II be606418e6 Merge pull request #1304 from lflux/fix-openstack-serverid-crash
Fix openstack ServerById crash
2014-06-30 10:56:53 -07:00
Ross Smith II 753a990cd5 Update CHANGELOG.md
builder/amazon-common: Sort AMI strings before outputting [GH-1305]
2014-06-30 10:54:56 -07:00
Ross Smith II f74a093eca Merge pull request #1305 from lflux/sort-ami-strings
Sort AMI names in Artifact.String - fixes random test failures
2014-06-30 10:53:08 -07:00
Ian Delahorne 2d1e1cc83e Sort AMI names in Artifact.String - fixes random test failures
With go tip, the output from Artifact.String will sometimes be output in a
different order than the tests. Sort the AMI strings before outputting.
See https://travis-ci.org/mitchellh/packer/jobs/28748467 for an example of this
failure.
2014-06-30 09:07:36 -05:00
Ian Delahorne 3af14d3dc7 Fix typo 2014-06-29 23:50:01 -05:00
Ian Delahorne 946843982f Workaround for gophercloud.ServerById crashing, fixes #1257
gophercloud.ServerById is broken in v0.1.0 - it will crash if you feed it a
non-existing server ID (see [rackspace/gophercloud #168](https://github.com/rackspace/gophercloud/issues/168))

Instead, list all servers and iterate over them. If the server id isn't found,
return "DELETED" as a state. Not perfect but it works until next version of
gophercloud is released.
2014-06-29 23:45:50 -05:00
Ross Smith II 29d8bb605c Merge pull request #1303 from neiled/patch-1
Images link is 404, now must use API
2014-06-27 23:05:44 -07:00
Neil Edwards c67661d54d Spelling 2014-06-28 00:25:43 -04:00
Neil Edwards cf3913d051 Images link is 404, now must use API 2014-06-28 00:24:37 -04:00
Rickard von Essen fe40db9dfc Merge pull request #1293 from maestrodev/contributing
Add gox installation instructions to Contributing
2014-06-26 15:23:36 +02:00
Carlos Sanchez b23fe724cb Add gox installation instructions to Contributing 2014-06-26 13:55:47 +02:00
Carlos Sanchez 80fa018a36 [GCE] gsutil update fails in newer images, use gcloud
googlecompute: It looks like you are trying to run "/usr/local/bin/../share/google/google-cloud-sdk/bin/bootstrapping/gsutil.py update".
    googlecompute: The "update" command is no longer needed with the Cloud SDK.
    googlecompute: To update, run: gcloud components update
2014-06-26 13:50:06 +02:00
Jack Pearkes e528cd7c8c post-processor/vagrant-cloud: fix artifact 2014-06-25 12:49:44 -04:00
Jack Pearkes 46535e3a3c post-processor/vagrant-cloud: better logging, document vcloud url 2014-06-25 12:46:25 -04:00
Jack Pearkes 450ba0bd9d post-processor/vagrant-cloud: improve error for upload failures 2014-06-25 11:54:49 -04:00
Jack Pearkes 5b2aaf3393 website: correct example configuration for vagrant pp 2014-06-25 11:46:51 -04:00
Jack Pearkes 560da27651 website: simplify example for vagrant cloud post processor 2014-06-25 11:45:53 -04:00
Jack Pearkes 34164b2522 post-processor/vagrant-cloud: add docs 2014-06-25 11:44:08 -04:00
Jack Pearkes 6a3c9921d2 post-processor/vagrant-cloud: better errors in box verifcation 2014-06-25 11:29:25 -04:00
Jack Pearkes a0c153824f post-processor/vagrant-cloud: tests for configuration 2014-06-25 10:56:09 -04:00
Jack Pearkes f384806821 post-processor/vagrant-cloud: add no_release and version_description 2014-06-25 10:32:17 -04:00
Ross Smith II 74ec811573 Merge pull request #1287 from higebu/add-warning-message-to-vmware-esxi-driver
Resolves #1256, add warning mesasge to VMware ESXi driver
2014-06-24 23:38:04 -07:00
Yuya Kusakabe 2b8ebe65e4 Resolves #1256, add warning mesasge to VMware ESXi driver 2014-06-25 11:20:24 +09:00
Jack Pearkes 979752cc57 post-processor/vagrant-cloud: remove extra log statement 2014-06-24 16:11:56 -04:00