Commit Graph

1570 Commits

Author SHA1 Message Date
Matthew Hooker 8dae6b60c1 Merge pull request #4996 from hashicorp/mwhooker/4613
builder/amazon: Support Assume Role with MFA and ECS Task Roles
2017-06-13 17:40:09 -07:00
Matthew Hooker a215eb15bc
remove trailing whitespace 2017-06-13 16:31:50 -07:00
Matthew Hooker 160d31a568
update documentation on automatic lookup of credentials.
Reverts work in #4612
2017-06-13 16:24:50 -07:00
Justin Campbell 8810d0445e website: Recommend vagrantcloud version from var
When using multiple builders, the post-processor could yield different results for the `{{timestamp}}` interpolation.

By using a variable instead, the version will be consistent across all builders.

https://github.com/hashicorp/packer/issues/4973
2017-06-13 17:14:30 -04:00
Matthew Hooker 11379dea70 Merge pull request #5009 from sjlamerton/salt_bin_dir
Add support for salt_bin_dir
2017-06-13 10:21:53 -07:00
Megan Marsh dca38b379a missed one page to add mfa_code to 2017-06-12 17:16:27 -07:00
Megan Marsh b1743a942c port over addition of mfs_code to various amazon docs on website 2017-06-12 17:12:41 -07:00
Rickard von Essen 8eedb24d74 cherry-pick changes to amazon-import from Pickard's PR and clean up formatting 2017-06-12 16:57:47 -07:00
Kent Wang e59678a033 Fix alicloud-ecs typo
* Fix typo: internet_max_bandwith_out -> internet_max_bandwidth_out
2017-06-11 16:03:28 +08:00
Rickard von Essen 5bc8edc3b2
Updated AWS docs for using default chain 2017-06-09 10:35:48 -07:00
Rickard von Essen f4f0560101
Updated docs about AWS credentials handeling 2017-06-09 10:29:47 -07:00
Megan Marsh 33af49d980 rename private to be in line with tfe 2017-06-08 15:42:17 -07:00
Matthew Hooker cd147e2da4 Merge pull request #4970 from hashicorp/4727_sensitive_vars
allow user to mark variables as sensitive for packer push
2017-06-08 15:27:37 -07:00
Megan Marsh a21870e614 addressing PR comments 2017-06-08 13:24:07 -07:00
Megan Marsh e81cc7d890 documentation
update to use atlas/go master with newly merged changes for govendor
2017-06-08 13:01:31 -07:00
Matthew Hooker 8e86f8fb12
document VAGRANT_CLOUD_TOKEN 2017-06-07 17:22:28 -07:00
Matthew Hooker 56443d7c14 Merge pull request #4983 from hashicorp/doversioncheck
ansible: add skip_version_check flag
2017-06-07 13:42:27 -07:00
Matthew Hooker 6b67aeed3c Merge pull request #4979 from Lee303/communicator-winrm-ntlmauth
Add NTLM authentication support for WinRM communicator
2017-06-07 13:36:51 -07:00
Matthew Hooker 8f685b3bcd
ansible: add skip_version_check flag 2017-06-07 13:31:56 -07:00
Lee f86e169564 update docs description for winrm_use_ntlm directive 2017-06-07 20:59:55 +01:00
Matthew Hooker 70b3d05fb3 Merge pull request #4760 from fajpunk/ansible-inventory-dir
inventory_directory option for ansible provisioner
2017-06-07 11:22:23 -07:00
Lee Spottiswood fe5c981843 add usage docs for winrm_use_ntlm directive 2017-06-07 15:18:31 +01:00
Steven Lamerton e953898890 Add support for salt_bin_dir
Allows specifying the path to salt-call, useful if it isn't on the
path.
2017-06-07 08:16:23 +01:00
Matthew Hooker b56c6eca55
docs: more user friendly vagrant cloud example 2017-06-06 14:51:35 -07:00
Matthew Hooker bc16c13b50 Merge pull request #4961 from magicalbob/grains
Grains
2017-06-06 12:37:18 -07:00
Matthew Hooker c4ec705791 fix markdown 2017-06-06 12:35:48 -07:00
Ian Ellis d156c41e3a Added docs for grains_file config item of salt-masterless provisioner 2017-06-06 07:12:44 +01:00
jasminSPC 73b917879d Fixes #4501 2017-06-06 03:19:09 +02:00
Matthew Hooker 74bf0b636b Merge pull request #4791 from optix2000/master
Add version selection for chef-solo provisioner
2017-06-05 15:30:48 -07:00
Matthew Hooker 687f648506 Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
amazon-import post-processor: support license_type
2017-06-05 15:23:14 -07:00
Matthew Hooker ab81b3ef7d Merge pull request #4699 from BenPhegan/virtualbox_sata_port_count
Add configuration to virtualbox-iso to allow sata port count configuration
2017-06-05 15:21:12 -07:00
Matthew Hooker f1465395aa
formatting 2017-06-05 10:17:53 -07:00
James Turnbull 0993f24fcf Minor updates to the Docker builder docs to clarify Docker support 2017-06-05 00:32:59 -04:00
Matthew Hooker b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker 8db397765c
spelling and formatting 2017-06-01 15:47:46 -07:00
Matthew Hooker 1f4b532ed5 Merge pull request #4948 from hashicorp/kms_key_regions
Kms key regions
2017-06-01 13:30:31 -07:00
Megan Marsh b8c2a5fd43 fix step initializer everywhere StepAMIRegionCopy is called 2017-06-01 09:28:17 -07:00
Megan Marsh 1944f38985 update docs and clean up 2017-05-31 13:41:32 -07:00
Megan Marsh 6a38de4846 add docs 2017-05-31 11:32:14 -07:00
Matthew Hooker 730cc0889e Merge pull request #4919 from hashicorp/fix4798
builder/vmware: make vnc probe timeout configurable
2017-05-30 12:59:22 -07:00
Matthew Hooker f801c507fc
builder/vmware: make vnc probe timeout configurable 2017-05-30 12:51:45 -07:00
Rickard von Essen 2164700162
comm/ssh: Add support for using SSH Agent auth towards a bastion host.
Adds `ssh_bastion_agent_auth`

Fixes: #4732
2017-05-28 14:05:03 +02:00
James Nugent c4439aba82 builder/vmware: Add vmx_remove_ethernet_interfaces
This commit adds a new option, `vmx_remove_ethernet_interfaces`, to both
of the VMWare builders. This is useful when building Vagrant boxes,
since Vagrant now produces output such as:

```
WARNING: The VMX file for this box contains a setting that is
automatically overwritten by Vagrant when started. Vagrant will stop
overwriting this setting in an upcoming release which may pre vent
proper networking setup. Below is the detected VMX setting:

   ethernet0.pcislotnumber = "33"

If networking fails to properly configure, it may require this VMX
setting. It can be manually applied via the Vagrantfile:

   Vagrant.configure(2) do |config|
     config.vm.provider :vmware_fusion do |vmware|
       vmware.vmx["ethernet0.pcislotnumber"] = "33"
     end
   end
```

This can be avoided entirely by removing the ethernet adapters from the
VMX file prior to packaging as a Vagrant box, in which case adapters are
created as expected according to the Vagrantfile specification.
2017-05-24 18:53:25 -05:00
Brian Warsing 74de3782a2 fix spacing on related documentation 2017-05-24 11:35:46 -07:00
Brian Warsing c23f212bbb Update amazon-import.html.md
Include usage info and example for `license_type` configuration option
2017-05-24 11:30:24 -07:00
r_takaishi 67ce2da59e add cacert config to specify custom CA certificate file 2017-05-24 14:21:16 +09:00
r_takaishi c909a27e7b fix docs 2017-05-24 14:07:12 +09:00
r_takaishi a36d9d6b44 add docs 2017-05-24 10:27:29 +09:00
Justin Campbell db91f94a08 website: Add Vagrant note to atlas post-processor 2017-05-23 11:21:34 -04:00
Justin Campbell e934633df9 website: Remove Vagrant from Atlas post-processor 2017-05-23 11:16:50 -04:00
Justin Campbell e554c3d8f7 website: Un-deprecate vagrant-cloud post-processor 2017-05-23 11:15:24 -04:00
Justin Reagor edc8eabe2e Note documentation when building images under private Triton 2017-05-21 14:40:36 -04:00
Sean Chittenden 1ba7f9cc20
Universally provide POSIX semantics for the `shell` provisioner.
All platforms everywhere have `env(1)` available, leverage it
accordingly.

Improves on: #2343
2017-05-20 09:28:02 -07:00
Matthew Hooker 740f438639
clarify that variables can't be used inside type 2017-05-20 00:53:31 -07:00
Matthew Hooker 4d84915bf8 Merge pull request #4890 from jamtur01/varrename
Updated the naming of variables
2017-05-20 00:50:27 -07:00
Matthew Hooker 0479def3ae
docs/amazon: alpha sort fields 2017-05-17 10:33:57 -07:00
Matthew Hooker 710010fbe0 Merge pull request #4896 from remijouannet/f-amazon_builder_custom_endpoint
add an option custom_endpoint_ec2 for amazon builder, add a condition…
2017-05-17 10:31:40 -07:00
Rémi Jouannet 38e111ad15 add documentation for custom_endpoint_ec2 2017-05-17 19:20:02 +02:00
Doug Ireton e15f88bd5d Use current generation instance type
m1 instance types are no longer available from AWS. Use `t2.small` instance type in example
2017-05-17 10:05:51 -07:00
Luke Farnell 22ab1494c4
Added docs 2017-05-16 21:00:13 -07:00
Matthew Hooker b0a6bb24e1 Merge pull request #4812 from hashicorp/checksumfix
post-processor/checksum: fix crash when invalid checksum is used
2017-05-16 10:42:38 -07:00
James Turnbull 0a544082ee This is a more substantive rewrite than intended
This is more than I planned but I think it makes things a little clearer
and perhaps organizes the page more clearly? I'd be happy to take
another example for template variables if someone can posit one.
2017-05-15 16:59:12 -04:00
Matthew Hooker 57d15432db Merge pull request #4879 from thrashr888/thrashr888/fix4693
Fix issue 4693 - Derive vpc_id from subnet_id
2017-05-15 13:49:33 -07:00
Paul Thrasher 0be5a28080 Fix issue 4693 - Derive vpc_id from subnet_id
In AWS we can derive the `VpcId` and AZ from the `SubnetId`, so now we do. In the config you can now only specify the `SubnetId`.

This fixes issue #4693.
2017-05-15 13:46:05 -07:00
James Turnbull cae2170375 Updated the naming of variables
Ensured template variables are described as that where references and
distinguished from user variables.
2017-05-15 15:41:27 -04:00
Matthew Hooker 5425b38083
docs: add line break 2017-05-15 11:52:25 -07:00
James Turnbull f73617b6b7 Made some changes to the Packer templating docs
1. Added the `user` function.
2. Some tidying up of language.
2017-05-15 14:31:58 -04:00
Matthew Hooker 38536b3d53 Merge pull request #4866 from feministy/liz/docs-wording
docs: clarify language for "easy"/"simple", update website readme
2017-05-10 13:40:16 -07:00
liz abinante 489f3ee2b0 make the garbage sentence less confusing 🎉 2017-05-10 13:18:17 -07:00
Sönmez Kartal b189252f98
Add ONBUILD field to acceptable metadata list
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:14:08 +03:00
Sönmez Kartal 56ec046fe5
Add LABEL field to acceptable metadata list
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:13:38 +03:00
Sönmez Kartal 1d66ecf0f8
Add deprecation notice for MAINTAINER field
Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
2017-05-10 17:03:15 +03:00
liz abinante 5139949d5c docs: some stuff is easy, some stuff is not let's be more descriptive 2017-05-09 11:49:02 -07:00
Matthew Hooker 30a957d556
website: document how to enable advanced networking 2017-05-03 22:45:48 -07:00
Ben Phegan c4b8e8e5df Merge branch 'master' into virtualbox_sata_port_count 2017-05-01 09:23:05 +10:00
Matthew Hooker 8e277b0ad3 remove tilde expansion 2017-04-26 15:54:18 -07:00
James Nugent d2ae36214a builder/triton: Reconcile #4829 and #4838 docs
This changes the default region to match the default from Joyent
documentation.
2017-04-26 15:47:04 -07:00
James Nugent a0271a18c1 Merge pull request #4838 from jen20/triton-new-lib
builder/triton: Replace deprecated joyent/gosdc library with joyent/triton-go
2017-04-26 15:14:20 -07:00
James Nugent d46a8593ae builder/triton: Update documentation 2017-04-26 14:02:04 -07:00
Dan Fuchs 8401057ed5 Merge branch 'master' into ansible-inventory-dir 2017-04-26 13:20:00 -05:00
s-tajima 7df6b85ce1 fix typo in amazon-ebssurrogate.html.md 2017-04-26 19:34:48 +09:00
Matthew Hooker e8cada8bf7
document and remove artifactID 2017-04-24 10:49:09 -07:00
Rickard von Essen 7b5c56bff4
ansible-local/ansible: Clearify docs regarding `extra_arguments`
Closes: #4822
2017-04-23 12:56:31 +02:00
Rickard von Essen 999f2da499
ansible-local/ansible: Add extra-vars packer_*
Added:
- `packer_build_name`
- `packer_builder_type`
- `packer_http_addr` - `ansible-local` only

Closes: #4820
2017-04-23 12:55:01 +02:00
Dan Fuchs 97c819dc15 Merge branch 'master' of https://github.com/mitchellh/packer into ansible-inventory-dir 2017-04-20 10:34:03 -05:00
Matthew Hooker 3608d81319
website/qemu: move misplaced config option 2017-04-19 12:04:45 -07:00
TsuyoshiUshio 47419e92ea Adding object_id for OSType = Windows
When we build a Windows based VHD image, we need to specify object_id.
However, object_id is very ambigous and not mentioned on this document.
I add some explanation and how to get it.
2017-04-19 15:26:37 +09:00
Matthew Hooker d30605fdfb
use json markdown syntax 2017-04-18 11:35:42 -07:00
Matthew Hooker 56d38b8237
website: fix list formatting 2017-04-18 11:35:41 -07:00
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository 2017-04-18 15:14:45 +08:00
Weilu Jia 943563e957 Update chef-solo documentation to match latest changes 2017-04-12 16:30:07 -07:00
Weilu Jia 05d46c61f7 Add documentation for chef-solo version pinning 2017-04-12 16:27:59 -07:00
Luke Farnell 3ad05eb85c Adding monitoring to the docs 2017-04-09 11:25:54 -04:00
Marc Tamsky 52060e41bf {{user}} is not allowed in variables section
https://github.com/hashicorp/packer/issues/1942
2017-04-07 14:19:31 -07:00
Dan Fuchs 50637a68bf Clarify `inventory_directory` in ansible provisioner docs 2017-04-04 22:58:46 -05:00
Jeremy Voorhis f06db39c7d Removes a supurious docs section. 2017-04-04 20:00:38 -07:00
Dan Fuchs 609e70face inventory_directory option for ansible provisioner
Add an `inventory_directory` setting to the Ansible provisioner that
allows a user to specify a directory in which the Packer Ansible
provisioner would write the generated inventory file.  If a value is
specified for this setting, then have the Packer Ansible provisioner
pass this directory as the -i arg when it calls ansible.

This would allow an Ansible playbook used by the Packer Ansible
provisioner to use variables specified in `host_vars` and `group_vars`
in this inventory directory.
2017-04-04 16:43:46 -05:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker 589f8b72dc
provisioner/ansible-local: document staging dir
We made the staging directory random earlier, so let's document it properly.
2017-04-04 12:01:32 -07:00
Andy Bulford 531887d2bb Fix a couple of typos 2017-03-30 16:55:08 +01:00