Matthew Hooker
83131db4b8
Merge pull request #3776 from curiositycasualty/master
...
Add custom_state config to salt provisioner
2016-10-07 17:59:52 -07:00
evanstucker-hates-2fa
a515c35338
Update shell.html.md
...
Changing to ".javascript".
2016-10-04 09:41:56 -07:00
evanstucker-hates-2fa
cd10cef218
Update shell.html.md
...
Putting sleep after the reboot didn't work for me. It would just hang indefinitely. There's a better way, and it's "pause_before".
2016-10-04 09:19:26 -07:00
Billie H. Cleek
9cf476289f
document ansible provisioner's option.
2016-09-13 08:18:21 -07: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
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
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
Hal Deadman
6f8ec8bd63
fix docs to match code for puppet-server provisioner staging_dir ( #3604 )
2016-08-24 00:04:00 +02:00
Isa
bb2dd6e2b2
add custom_state config to salt provisioner
2016-08-03 12:56:51 -07:00
Renat Zaripov
b4ac9d0033
Clarifying defaults remote_path for powershell and windows-shell provisioners
2016-06-22 09:29:13 +03:00
Jamie Snell
d43fa85e7b
update docs to reflect knife_command change
2016-06-14 17:18:08 -05:00
Tom Asquith
40aa2b9973
added support for specifying an execute command to the puppet-server provisioner.
2016-06-13 14:12:28 +01:00
Hidekazu Tanaka
3728e076fe
Fix SSH Agent Forwarding exmaple
2016-05-18 16:04:56 -07:00
Ian Duffy
7e653370b7
Seperate remote_path into remote_folder and remote_script. ( #3462 )
...
Commonly /tmp is set as noexec, as a result packer scripts
fail to run. In order to get around this one can set a
remote_path, whoever, remote path requires full filename
and path.
By making remote_path a combination of
remote_folder/remote_script we can change remote_folder
and keep the default script_nnn.sh
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-04-26 16:04:29 -07:00
mansunkuo
864be9d991
Modify documents of extra_arguments for both ansible(remote) and ansible-local. ( #3423 )
2016-04-20 20:49:46 -07:00
Chris Bednarski
90a12f7043
Clarified that windows must be fully booted in order for the restart provisioner to succeed
2016-04-20 12:34:53 -07:00
Shaun Haber
efa642fe04
Add documentation for ssl_verify_mode
2016-04-01 12:35:05 -07:00
Keyan Pishdadian
aee8490f68
Add docs for ignore_exit_codes param
2016-03-13 23:39:29 -04:00
Chris Bednarski
1256babce3
Change .markdown to .md because it's shorter
2016-03-11 17:06:36 -08:00
Mansun Kuo
5134faf0cc
Add example of extra_arguments
2016-03-10 21:49:04 +08:00
Chris Bednarski
39ca3c292e
Merge pull request #3299 from tylert/shell-doc-order
...
Put shell provisioner doc in 'packer fix' order
2016-03-07 18:30:29 -08:00
Rickard von Essen
7369841e63
Ansible: add the support for specifying ansible_user
...
Closes #3273
2016-03-07 13:35:24 +01:00
Tyler Tidman
b6eaf60fda
Put shell provisioner doc in 'packer fix' order
2016-03-02 14:37:30 -05:00
Vespian
4750da3457
Add empty_groups param to ansible provisioner
2016-02-19 23:46:50 +01:00
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
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
3ae867446d
Merge pull request #2660 from mafrosis/saltp
...
Salt provisioner updates
2016-02-11 16:37:06 -08: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
Billie H. Cleek
0cd54ed19e
add options to configure host alias and groups
2016-02-10 23:33:14 -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
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
Marat Bakeev
c95b2b483f
Merge branch ansible-provisioner of https://github.com/dkhenry/packer
2016-02-05 15:40:17 +13:00
Billie H. Cleek
bf3c294326
listen on system chosen port
...
Change the default for LocalPort to "0", so that the listener will be a
system chosen port.
2016-01-28 22:22:12 -08:00
Chris Bednarski
15f99a4aee
Merge branch 'ansible-provisioner' of https://github.com/bhcleek/packer into f-ansible
2016-01-28 15:16:54 -08:00
Chris Bednarski
87532b1b00
Merge branch 'chef-provisioner-windows' of https://github.com/sneal/packer into f-chef-provisioner-windows
2016-01-28 14:55:17 -08:00
Matt Black
33071150c1
Salt provisioner: option to set logging level on Salt highstate run
2016-01-26 13:09:15 +00:00
Matt Black
9ccf298be9
Salt provisioner: option to ignore salt highstate failures fixes #2486
2016-01-26 13:09:15 +00:00
Matt Black
5cd15b52c5
Salt provisioner: dynamic command line args passed onto salt-call fixes #2652
2016-01-26 13:09:15 +00:00
Tyler Tidman
520e0fb7f5
Use monospaced-font for remote_path and start_retry_timeout string defaults
2016-01-22 12:46:00 -05:00
Chris Bednarski
46e36a3528
Merge pull request #2703 from kpettijohn/chef-client-local-mode-example
...
docs: chef-client local mode example
2016-01-14 17:29:22 -08:00
Seth Vargo
c0b46b2fb8
Use SSL for resources
2016-01-14 15:31:19 -05:00
Chris Bednarski
3eabc6253d
Merge pull request #2653 from evertrue/evertrue/eherot/add_data_bag_secret_to_chef_client
...
Chef-client provisioner: Add encrypted data bag secret path (Fixes #1945 )
2016-01-13 13:59:48 -08:00
Tyler Tidman
5a4b81fa3c
Fix typo in shell-local command example
2016-01-11 10:58:01 -05:00
Chris Bednarski
e9be2cff2b
Merge pull request #2942 from dave2/shell_noclean
...
Add "skip_clean" boolean to shell provisioner.
2015-12-18 11:35:47 -05:00
BetaGrumm
4b88403690
Update file.html.markdown
...
Fixed typo: Missing "i" in the word "will".
2015-12-09 11:49:04 -08:00
Chris Bednarski
692b227ac3
Merge pull request #2963 from pepoirot/ansible-provisioner-notice
...
Add a notice that Ansible needs to be already present on the target.
2015-12-04 12:06:31 -08:00
Hiroyuki MORITA
d67d2b9d6b
ansible-local doc is not styled
...
https://www.packer.io/docs/provisioners/ansible-local.html#inventory_file
2015-11-25 03:39:06 +09:00