1455 Commits

Author SHA1 Message Date
Vasiliy Tolstov
fe76081e0a post-processor/manifest: allow to strip path components from artifact path
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-09-14 11:32:25 +03:00
Rickard von Essen
7dafd4421e Merge pull request #3737 from clstokes/docs-googlecompute-metadata
builder/googlecompute: Clarify metadata usage.
2016-09-13 23:05:16 +02:00
Rickard von Essen
4021ce78de Merge pull request #3882 from bhcleek/doc-ansible-command
document ansible provisioner's command option.
2016-09-13 17:25:59 +02:00
Billie H. Cleek
9cf476289f document ansible provisioner's option. 2016-09-13 08:18:21 -07:00
jasminSPC
325401eaf0 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-09-13 12:06:45 +02:00
Christopher Boumenot
372bffef36 Merge pull request #3876 from AwaNoodle/master
Fix for #3875 - Azure documentation updates
2016-09-12 10:09:52 -07:00
Ali Rizvi-Santiago
fbe305cf4e Renamed floppy_contents to floppy_dirs as requested by rickard.von.essen@gmail.com 2016-09-12 12:07:35 -05:00
Ali Rizvi-Santiago
5f9fdaf5fa Added documentation for the floppy_contents option to parallels, qemu, virtualbox, and vmware. 2016-09-12 11:57:44 -05:00
Rickard von Essen
3a709fcdc0 Merge pull request #3861 from bhcleek/ansible-scp
add scp support to ansible provisioner
2016-09-12 14:10:37 +02:00
Rickard von Essen
ed1b664d65 Merge pull request #3855 from jeremy-asher/chroot-from-scratch
amazon-chroot build AMI from scratch
2016-09-12 13:48:04 +02:00
Rickard von Essen
c3861d1675 Merge pull request #3856 from rickard-von-essen/ecr-support
Improved support for Amazon EC2 Container Registry - ECR
2016-09-12 13:43:41 +02:00
Billie H. Cleek
f760ab2fd8 Make SCP the default for provisioner/ansible
Add a new option, `use_sftp` to the ansible provisioner. It's default
value is false; ansible provisioner will use SCP by default.

Refactor to consistently set all configure options for ansible
provisioner in the Prepare step.

Remove incorrect information about `ANSIBLE_HOST_KEY_CHECKING=False`
being set when `ansible_env_vars` is not set in the packer template.

Update BATS tests for the ansible provisioner to actually check that the
fetched directory contains the contents expected. This revealed a
problem with the all_options template that required adding a host to the
hosts list in the test playbook.
2016-09-11 23:58:31 -07:00
Billie H. Cleek
da223b9539 add scp support to ansible provisioner
Handle running `scp -t` and `scp -f` exec requests in the
ansible-provisioner's SSH
server to allow Ansible to use SCP so that SFTP doesn't have to be
installed on the node.

Update the BATS tests to test the ansible provisioner.
2016-09-11 23:58:31 -07:00
Rickard von Essen
12426b314f Merge pull request #3823 from mitchellh/f-singlebinary
Update documentation to single binary
2016-09-12 07:47:15 +02:00
Rickard von Essen
21a957ddcd Added a missing the 2016-09-12 07:46:47 +02:00
Mark Turner
de35df833b Fixed azure storage command example to include sku-name and kind 2016-09-10 17:44:13 +01:00
Mark Turner
0f4cba9c82 Added quotes to JQ line when getting Azure accounts 2016-09-10 17:33:20 +01:00
Jeremy Asher
66e55553e8 cleanup and make format on amazon-chroot docs 2016-09-04 12:19:47 -07:00
Rickard von Essen
b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
This adds support for authenticating towards ECR in the docker builder
and docker-push post-processor using them same mechanisms as in the
amazon builders. I.g. access key/secret key, credentials on file,
environment variables, sts tokens or IAM instance roles.
2016-09-04 14:33:47 +02:00
Jeremy Asher
e1c69a2e9a amazon-chroot from_scratch option documentation 2016-09-03 12:32:43 -07:00
Jeremy Asher
9a7758a002 fix amazon-chroot docs use of backticks for true/false 2016-09-03 12:32:43 -07:00
Andy Feller
71e43abef6 Updated ansible provisioner documentation to cite situation encountered by Redhat family around sftp_command 2016-09-02 07:45:16 -04:00
Chris Lundquist
defdd1ecf3 Merge remote-tracking branch 'origin/master' into dynamic-source-ami 2016-09-02 01:43:03 +00:00
Rickard von Essen
d1e38052f7 Merge pull request #3350 from JoakimLofgren/add-support-for-ansible-galaxy
Add support for ansible-galaxy
2016-09-01 20:51:17 +02:00
Joakim Löfgren
eee54d48f3 Add documentation for galaxy_file 2016-09-01 13:51:14 +02:00
jasminSPC
8f8907ee13 Merge remote-tracking branch 'upstream/master' into packer-builder-profitbricks 2016-08-31 13:56:51 +02:00
jasminSPC
5caa54acd7 Addressed all the comments 2016-08-31 13:55:11 +02:00
Rickard von Essen
2b1808d4fd
Capitalize documentation index correctly 2016-08-30 19:53:23 +02:00
Rickard von Essen
d8e67a0b6f
Added file builder documentation. 2016-08-30 19:51:49 +02:00
Ingo Gottwald
0c1051a017 GCE builder: Switch to google.DefaultClient (#3655)
* GCE builder: Switch to google.DefaultClient

This enables authentication through an authenticated gcloud tool.

* GCE builder: Add docs about auth mech precedence
2016-08-27 03:12:55 +02:00
Joseph Heck
27cdd4480a detail on connecting to build VM for debugging (#3797)
* detail on connecting to build VM for debugging

 - resolves #485, mostly my own confusion about how to connect to a
   locally built machine being created by packer while using -debug
   functionality.

* fixing name of preseed file typo
2016-08-24 09:12:22 +02:00
Hal Deadman
6f8ec8bd63 fix docs to match code for puppet-server provisioner staging_dir (#3604) 2016-08-24 00:04:00 +02:00
Royce Remer
faa971291d document optional amazon-ebs virt type behavior 2016-08-24 00:02:17 +02:00
Huy Nguyen
5e1aa22dc7 IAM permission needed to deregister failed images (#3796) 2016-08-23 23:55:01 +02:00
www.elconas.de
e6c590ace4 Fix IAM Policy to avoid 'Error enabling Enhanced Networking on xxxxxxx: UnauthorizedOperation: You are not authorized to perform this operation' (#3696) 2016-08-23 23:54:42 +02:00
Luke Farnell
a2ad2d2d93 providing documentation for solving issue #3586 (#3702)
* providing documentation for solving issue #3586

* fixed docs to include the env var needing to be set

* typo for env var
2016-08-23 23:53:56 +02:00
Steven Samuel Cole
e88c1542e5 extend export_opts documentation, add sample code (#3746) 2016-08-23 23:51:34 +02:00
Steven Samuel Cole
dfae68dc6b extend export_opts documentation, add sample code (#3745) 2016-08-23 23:51:15 +02:00
Alvaro Miranda Aguilera
fdbf15be9f Uppercase note 2016-08-23 19:03:37 +02:00
Paul Stack
5353cda7a2 Merge pull request #3819 from sourabhpawar/patch-1
Note added: Command line var on Windows
2016-08-23 18:03:00 +01:00
Alvaro Miranda Aguilera
e65401cbf6 add note for packer-* binaries 2016-08-23 18:58:20 +02:00
Alvaro Miranda Aguilera
2101b6a2ff Update documentation to single binary 2016-08-23 18:52:26 +02:00
mieciu
23296988b8 Update example AWS policy document 2016-08-22 17:06:20 +02:00
Sourabh Pawar
07e6509bc4 Removed additional whitespace
Removed additional whitespace
2016-08-21 15:07:22 -04:00
Sourabh Pawar
103a8a9223 Note for executing the first build on Windows
The first packer build command includes passing AWS access key and secret key as variables. On Windows, the single quotes must be replaced with double quotes or an AWS error occurs. This may not be obvious to everyone, hence a note. The AWS error (as below) is not adequately self-explanatory. 

Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
2016-08-21 15:04:05 -04:00
Chris Lundquist
3d6cf56715 [dynamic-source-ami] add some docs 2016-08-20 23:54:02 +00:00
Rickard von Essen
3e1aed9a6f Enable to disable vnc password for VMware builder 2016-08-19 13:26:23 +02:00
crunk1
55b5a45ae4 Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
Added documentation and changed authentication stuff on temporary VM.
2016-08-15 14:36:26 -07:00
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
tubadude49
14c73a837d Plural 2016-08-09 16:24:17 -05:00