Commit Graph

425 Commits

Author SHA1 Message Date
hairesis bb71db6b39 docs/provisioners/ansible: Add playbook to basic example. (#8508) 2020-01-07 11:07:05 +01:00
pfuender ffb9272fb2 adding version-override for chef-client provisioner 2019-12-09 20:58:04 +01:00
Indy Griffiths 82a1242b58 Fix bad header indentation (#8435)
Caused header to show up on https://www.packer.io/docs/provisioners/puppet-server.html as a code block
2019-12-02 10:29:54 +01:00
Megan Marsh 7d4353864f use shell struct in shell-local provisioner and post-processor. 2019-11-21 16:47:29 -08:00
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
* Move setting of default EnvVarFormat to the Prepare function
* Add generated hcl2 structure for the updated Shell provisioner config
* Move `EnvVarFormat` field to shared common shell type
* Add description for the `env_var_format` parameter
* Update `env_var_format` when used with `use_env_var_file`
2019-11-06 16:28:56 -05:00
Megan Marsh 4d4e2c39f8 add some docs explaining ansible + docker 2019-11-04 14:19:41 -08:00
Kévin Rauscher a39fef5178
Fix incorrect variable name galaxy_command 2019-11-04 14:42:39 +00:00
Megan Marsh de360df259 update website to hopefully make community builders and provisioners easier to find 2019-10-21 16:04:34 -07:00
Tadej Janež 491c832f59
Fix ansible provisioner docs for galaxy_force_install conf parameter 2019-08-22 11:28:22 +02:00
stsully 9b94b9857a
update verbiage
I think the intent here was accidentally switched from "necessary" to "unnecessary." Maybe just say that it might be "required" instead.
2019-08-16 12:46:56 -06:00
Justin Georgeson 2818ab517c [docs] Add OpenStack to list of providers supporting .WinRMPassword template variable
* ansible
* powershell
* shell-local
2019-08-07 22:02:44 -05:00
Ruben Tsirunyan f9d79addac Adding documentation for ansible-galaxy related arguments 2019-07-29 13:23:39 +04:00
Stefan Scherer 35dae5791c
Use --input-file instead of --attrs.
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2019-07-22 10:17:01 +02:00
Adrien Delorme 065fee86a8 fix more urls 2019-06-14 15:08:59 +02:00
Megan Marsh 1204213516
Merge pull request #7678 from hashicorp/docker_windows_defaults
builder/docker: better windows defaults
2019-05-24 11:19:32 -07:00
Aaron Walker c1141c849f update docs 2019-05-24 16:29:18 +02:00
Adrien Delorme 68a3be9f90 document execution_policy for powershell 2019-05-23 17:39:02 +02:00
Aaron Walker dfc5e5cf94 adds support for accepting the chef license 2019-05-17 17:19:22 +02:00
Megan Marsh c317679f52 add some docs for how to do complex custom commands 2019-05-01 11:00:07 -07:00
yuriolive 6ba479d723
Missing comma in JSON
JSON is invalid, is missing a comma
2019-04-25 12:58:46 -03:00
Megan Marsh 11037968a8 warn users to lock down winrm after provisioning 2019-04-19 17:03:20 -07:00
Ben Allen c2ef47495e
Added warnings about writeable locations 2019-04-12 11:03:41 +01:00
Adrien Delorme aa3cb5be63 document common provisioner parameters 2019-04-08 20:09:22 +02:00
Adrien Delorme d8d5631dc2 allow to set provisioner timeout from buildfile 2019-04-08 20:09:21 +02:00
MisterMiles 5ab8cc6ded
Update shell-local.html.md
The last sentence is misleading because it is assumed that the shell-inline parameter is only executed on the machine which is build by packer.
2019-04-05 16:16:25 +02:00
John Jones d0eb2609a8
Ansible 2,7 "use_tty" fix
Per Issue #6453, Ansible@2.7 targetting Windows was throwing the following error when setup as the docs instruct:
"Requested option use_tty was not defined in configuration"

This is caused by something in Ansible silently discarding the whole `DOCUMENTATION` string configuration when it can't parse it. The changed line in this PR fixes that. :)
2019-04-02 21:17:08 -07:00
Adrien Delorme a9e9fff3ad docs: refactor comon shell configurations into a partial 2019-03-14 13:12:03 +01:00
Adrien Delorme f369ae2178 Update windows-shell.html.md
copy paste valid_exit_codes from powershell.html.md
2019-03-14 11:17:06 +01:00
Megan Marsh 75f574bd4b
Merge pull request #7221 from hashicorp/vagrant_builder
Vagrant builder
2019-02-15 10:05:44 -08:00
xinau 8526244285 changed local_port to uint representation 2019-02-12 06:32:19 +00:00
xinau c207451f7e Merge branch 'master' of https://github.com/hashicorp/packer into packer-provisioner-inspec 2019-02-12 05:32:05 +00:00
Megan Marsh af7131b169 tests, logic cleanup, docs for vagrant builder 2019-02-04 14:08:43 -08:00
Megan Marsh ad21367b21 vagrant builder 2019-02-04 14:08:43 -08:00
Rickard von Essen 52b55fb899
ansible: change local_port to uint instead of string 2019-02-04 18:47:42 +01:00
Rickard von Essen 6d700d34df
ansible: some doc style fixes 2019-02-04 18:21:44 +01:00
xinau f5b13e3cb5 added inspec.io provisioner 2019-01-20 15:43:47 +00:00
Megan Marsh 56725df3a2 add env_var_format to docs since we reference it in the examples 2019-01-09 11:16:19 -08:00
Megan Marsh 4581b3badb add python example to shell-local docs
use abs path for python
2019-01-09 09:50:27 -08:00
Megan Marsh 82aadb3fe2 add note about ansible to chroot builder 2019-01-03 11:01:32 -08:00
Megan Marsh 70c6fcb824
Merge pull request #7078 from aspectcapital/issue-5478
Elevated support for puppet-* & chef-client provisioners
2018-12-14 19:06:46 -08:00
Matt Dainty 845d29b458 s/provider/provisioner/ 2018-12-13 10:32:36 +00:00
Matt Dainty 451709b956 Elevated support for chef-client provisioner
Fixes #4661
2018-12-13 10:25:12 +00:00
Megan Marsh d5854a9574 add option to test registry for certain keys to make sure windows is done with a reboot cycle 2018-12-12 12:52:14 -08:00
Matt Dainty d7cd693680 Document how to pass spaces in `puppet_bin_dir` 2018-12-10 10:26:28 +00:00
Matt Dainty 3585b8023f Update docs for Puppet provisioners 2018-12-07 15:36:30 +00:00
Megan Marsh a93721c54d add disable option to breakpoint provisioner 2018-11-29 15:09:14 -08:00
Megan Marsh 1aeb29036a docs 2018-11-29 14:47:06 -08:00
Thibault Deutsch 8cb61114dc
Update ansible_remote|ssh_authorized_key_file doc
Reflect the change made to the way `ansible_remote` provisioner pass the
SSH private key file to Ansible [GH-5869]
2018-11-20 16:29:15 +00:00
Matt Dainty 3b519acebc Allow Powershell provisioner to use service accounts
Fixes #6104
2018-11-08 11:48:27 +00:00
Jan Steinke ffb1c5c5a5
update link to puppet facter documentation 2018-11-06 14:52:45 +01:00