Chris Bednarski
fb7870ad94
Merge pull request #3203 from mtb-xt/ansible-env
...
Allow specifying environment variables for ansible provisioner
2016-02-14 19:11:11 -08:00
Chris Bednarski
14b7019ace
Merge pull request #3201 from hartzell/patch-1
...
Fix invalid JSON in example
2016-02-14 19:08:44 -08:00
Marat Bakeev
2791542171
Allow specifying environment variables for ansible provisioner
2016-02-15 13:07:02 +13:00
George Hartzell
fc9dee4e0d
Fix invalid JSON in example
...
There was an extraneous comma in the example that rendered the JSON invalid.
2016-02-14 13:11:04 -08:00
Chris Bednarski
c7765023aa
Merge pull request #3193 from mitchellh/f-ssh-key-path
...
Add fixer for SSHKeyPath
2016-02-12 17:39:16 -08:00
James Bishopp
bd8fb014c4
Removed ssh_key_path
...
- removed backwards compatibility code
- ensured key usage came from SSHPrivateKey configuration
- changed tests to use private_key
2016-02-12 17:24:42 -08:00
James Bishopp
51b2069af1
Added fixer for ssh_key_path
...
- ssh_key_path is removed in all cases.
- The new fixer is not checking the builder type so it will execute for all
builders.
- If ssh_key_path exists without ssh_private_key_file then it will assign
the value of ssh_path_path to ssh_private_key_file
- If ssh_private_key_file and ssh_key_path exist, then ssh_key_path is
simply removed
I wanted to emit a warning messsage to the user but it didn't seem like
the ui.* interface was exposed to fixers.
2016-02-12 17:24:42 -08:00
Chris Bednarski
115426becb
Update aws-sdk-go to 1.1.2 release
2016-02-12 16:17:46 -08:00
Chris Bednarski
fafcda541f
Added SSH directory download to changelog
2016-02-12 14:59:41 -08:00
Chris Bednarski
ded6a066b6
Merge pull request #3191 from mitchellh/f-ssh-dir-download
...
Enable SSH Communicator to download directories
2016-02-12 14:55:47 -08:00
Chris Bednarski
6dd02e7912
Update ansible test to use the new Downloader interface
2016-02-12 14:53:23 -08:00
Vasiliy Tolstov
feee19e4ed
file provisioner improvements
...
* allow specify source/destination as dir
* allow specify many files as source
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-12 11:48:28 -08:00
Chris Bednarski
6496a25d08
Added QEMU SSHHostPort to changelog
2016-02-12 11:47:33 -08:00
Chris Bednarski
e920ad25bf
Merge pull request #3190 from mitchellh/f-qemu-ssh-port
...
Expose QEMU SSH port to templates
2016-02-12 11:41:29 -08:00
Dan Sedlacek
0146294095
Added documentation
2016-02-12 11:39:19 -08:00
Dan Sedlacek
279555b8e1
Added ability to see what SSH Port packer generated in template data
2016-02-12 11:39:08 -08:00
Chris Bednarski
7d90d3f0d0
Added fmt and vendor to the makefile
2016-02-12 11:37:49 -08:00
Chris Bednarski
53176f8cdb
Added amazon s3 service to vendor, to support the amazon-import feature
2016-02-12 10:41:26 -08:00
Chris Bednarski
4458de4ea0
Reformat
2016-02-11 23:53:40 -08:00
Chris Bednarski
d375b6560d
Added amazon-import to changelog
2016-02-11 23:40:41 -08:00
Chris Bednarski
765ec5cf39
Merge pull request #2962 from dave2/postprocess_amazon_ova
...
New post-processor: amazon-import
2016-02-11 23:38:15 -08:00
Chris Bednarski
d8aaf6175f
Merge pull request #2470 from jsoriano/puppet-masterless-clean-staging
...
Puppet masterless provisioner optionally cleans staging directory
2016-02-11 17:39:35 -08:00
Chris Bednarski
5a57ccbbc3
Added salt provisioner updates to changelog; reformatted / rephrased some things
2016-02-11 16:43:27 -08:00
Chris Bednarski
3ae867446d
Merge pull request #2660 from mafrosis/saltp
...
Salt provisioner updates
2016-02-11 16:37:06 -08:00
Chris Bednarski
d73cc1c919
Merge pull request #3189 from mitchellh/docs-machine-debug
...
Add note to docs indicating that -machine-readable and -debug cannot be used at the same time
2016-02-11 16:13:04 -08:00
Chris Bednarski
cd4961196f
Add note to docs indicating that -machine-readable and -debug cannot be used at the same time
2016-02-11 16:12:22 -08:00
Chris Bednarski
47f0783de1
Added Virtualbox VRDP to changelog
2016-02-11 14:52:48 -08:00
Chris Bednarski
8f1a8f4956
Merge pull request #3188 from mitchellh/f-vbox-vrdp
...
Add VRDP for virtualbox, from #2638
2016-02-11 14:39:19 -08:00
Ian Duffy
c4b64eb2c7
Closes #2637 - VRDP support for the virtualbox plugin
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-02-11 14:38:24 -08:00
Chris Bednarski
56fe74ed98
Merge pull request #3182 from sl1pm4t/master
...
Add support for Google subnetworks. Closes #3062 .
2016-02-11 13:43:52 -08:00
Chris Bednarski
3e4337bf18
Merge pull request #3187 from mitchellh/b-generate-windows
...
Added ToSlash around windows paths so they will become unixy
2016-02-11 12:02:50 -08:00
Chris Bednarski
5a6c782a20
Added ToSlash around windows paths so they will become unixy
2016-02-11 11:34:09 -08:00
Rickard von Essen
54f8bc5ff4
Merge pull request #3184 from bhcleek/master
...
Improved Ansible documentation
2016-02-11 10:48:08 +01:00
Billie H. Cleek
7d898ff345
edit documentation
...
* Add text explaining the basics of how the ansible provisioner works.
* Refactor the basic example to demonstrate the simplest case.
* Use active voice more consistently.
2016-02-11 01:44:28 -08:00
Matt Morrison
f566d6f36d
add docs for Region
2016-02-11 22:08:32 +13:00
Matt Morrison
daf57c7632
Add tests and documentation for subnetwork attribute
2016-02-11 21:54:48 +13:00
Rickard von Essen
fa27aab78b
Merge pull request #3183 from bhcleek/master
...
add options to configure host alias and groups
2016-02-11 09:27:52 +01:00
Billie H. Cleek
0cd54ed19e
add options to configure host alias and groups
2016-02-10 23:33:14 -08:00
Chris Bednarski
21db3152bb
Added improved JSON errors to changelog
2016-02-10 21:52:51 -08:00
Matt Morrison
942aaa7a85
Add support for Google subnetworks. Closes #3062 . Fixes an issue with how packer populates instances metadata. Closes #3181
2016-02-11 17:31:46 +13:00
Chris Bednarski
2a46f4001c
Merge pull request #3180 from grubernaut/f-highlight-offending-json-syntax
...
Display better error messages on json.SyntaxError
2016-02-10 20:10:04 -08:00
Chris Bednarski
193c7c08e7
Merge pull request #3175 from tylert/shell-local-docs
...
Remove invalid 'binary' option for shell-local post-processor
2016-02-10 19:29:53 -08:00
Chris Bednarski
a6552f7c75
Merge pull request #3166 from ephemeralsnow/master
...
Add chmod to chef-solo provisioner
2016-02-10 19:23:47 -08:00
Chris Bednarski
76dcef42a9
Merge pull request #3159 from bhcleek/master
...
update ansible tests and refactor to separate some concerns
2016-02-10 16:39:08 -08:00
Billie H. Cleek
fbb32d2f15
documentation edits
...
Fix spelling and grammar mistakes in the ansible provisioner
documentation.
2016-02-10 14:16:02 -08:00
Billie Cleek
a5ab53bf5e
update ansible tests
...
Update tests to account for changes made in #3149
2016-02-10 14:16:02 -08:00
Billie Cleek
a23610ef41
cleanup ansible provisioner key generation
...
* Clearly separate host signer and user key generation into separate
functions and data structures.
* Remove inaccurate comment about needing to specify both files if
either one is specified.
* Rename parameters for clarity according to their meaning to the
callee.
* Style the code with gofmt.
2016-02-10 14:16:02 -08:00
Jake Champlin
aca4aed47c
Display better error messages on json.SyntaxError
...
Better display an error message on an encounter of a json.SyntaxError.
Rolls back the file position, to read the entire file, then steps
through the file reading a single byte at a time, populating lines until
encountering the syntax error. Then relays the offending line as well as
the previous line in the file to the user, also placing a `^` that
points the the offending column of the decoder error.
```
➤ packer validate template.json
Failed to parse template: Error parsing JSON: invalid character '"' after object key:value pair
At line 9, column 8 (offset 121):
8: "name": "vbox"
9: "
```
2016-02-10 14:52:26 -05:00
Tyler Tidman
bda06bfb2a
Remove invalid 'binary' option for shell-local post-processor
2016-02-09 16:30:32 -05:00
Chris Bednarski
86781c896d
Merge pull request #3174 from tylert/qemu-doc-fix
...
Show default for iso_skip_cache in qemu docs
2016-02-09 12:20:21 -08:00