Commit Graph

168 Commits

Author SHA1 Message Date
Seth Vargo afc02ed681 Merge pull request #5607 from purpleidea/feat/named-shell
Add :name attribute to shell provisioner.
2015-05-30 20:54:34 -07:00
Richard Alvarez b4e0e3a159 Fixed deprecated link on chef_apply documentation
- links to http://docs.chef.io/recipes.html instead of https://docs.chef.io/essentials_cookbook_recipes.html
2015-05-25 22:03:48 -04:00
Dave Mangot 25639ab6c2 fix master_config documentation 2015-04-26 12:25:36 -07:00
James Shubin b16b85aa7d Add :name attribute to shell provisioner.
This allows the display of friendly output to the user when we think an
important action should be labeled a certain way. This makes vagrant
output a lot more useful when many inline shell provisioners are
present.
2015-04-18 00:35:21 -04:00
Peter Tripp ef45f7c52e Add documentation for salt bootstrap script config parameter. 2015-04-13 12:57:58 -07:00
follower 21538fd64f Fix known/kownn typo 2015-03-16 03:17:56 +13:00
Tim O'Guin 0289ab986c Salt Provisioner: Added a 'custom' option to install_type to allow more flexibility in passing arguments to the bootstrap script. Updated the docs. 2015-03-04 15:05:24 -07:00
Mitchell Hashimoto 5a7abc2b2f website/docs: update salt docs 2015-02-24 09:32:55 -08:00
Mitchell Hashimoto 3a142cbf30 Merge pull request #5337 from mafrosis/docs-salt
website/docs: Added bootstrap_options param to the salt provisioner docs
2015-02-24 09:32:13 -08:00
erwinvaneyk 4f81e12684 Fixes broken/deprecated links on the chef_solo documentation
- links to http://docs.chef.io/roles.html instead of https://docs.chef.io/essentials_roles.html
- links to https://docs.chef.io/nodes.html#about-run-lists instead of https://docs.chef.io/essentials_node_object_run_lists.html
- links to http://docs.chef.io/data_bags.html instead of https://docs.chef.io/essentials_data_bags.html
2015-02-24 14:31:24 +01:00
Michael Lopez 530cb331ae Update chef_zero provisioner documentation 2015-02-15 10:11:22 +01:00
Michael Lopez 4ece2ba43e Update chef docs with enable_reporting option 2015-02-14 22:34:11 +01:00
mafro a4724521f5 added bootstrap_options param to the salt provisioner docs 2015-02-14 09:56:54 +11:00
Seth Vargo ce4525e7fd Clean up words a bit 2015-01-21 10:26:27 -05:00
Christian Berendt 58435b7dca Add a note to the "external script" section how to run existing scripts
Closes-bug: #5228
2015-01-21 16:22:10 +01:00
Gilles Cornu 5b716d1623 provisioners/ansible: fix lines lengths in docs
[ci skip]
2015-01-13 19:18:32 +01:00
Gilles Cornu 00b848fd71 provisioners/ansible: improve inventory docs
Related to a question asked in the mailing list:
https://groups.google.com/forum/#!topic/vagrant-up/OwkR04u4MA4

[ci skip]
2015-01-13 19:18:23 +01:00
Gilles Cornu fafaa00391 doc: update ansible parallel provisioning tip
As of Vagrant 1.7+, the ansible parallel provisioning trick is easier to
be implemented with `config.ssh.insert_key=false` (fallback to previous
behaviour).

Close #5048

[ci skip]
2015-01-12 10:29:58 +01:00
Seth Vargo 2cbbcb4722 Add installer_download_path to Chef common options 2014-12-16 21:14:52 -05:00
Seth Vargo 53040be585 Improve Chef documentation 2014-12-16 21:08:16 -05:00
Seth Vargo 8c8a92c4be Merge pull request #4896 from analyzere/salt-grains-config
Issue #4895: Support grains config for salt
2014-12-14 23:48:02 -05:00
Donovan Hernandez 1275f24c38 Named Provisioners only in v1.7.0 2014-12-12 11:16:48 -06:00
Ken Crowell 72afdce630 Issue #4895: Support grains config for salt 2014-12-02 18:01:09 -04:00
Gilles Cornu f96636587a provisioners/ansible: don't read/write known_hosts
Like Vagrant's default SSH behaviors (e.g ssh or ssh-config commands),
the Ansible provisioner should by default not modify or read the user
known host file (e.g. ~/.ssh/known_hosts).

Given that `UserKnownHostsFile=/dev/null` SSH option is usually combined
with `StrictHostKeyChecking=no`, it seems quite reasonable to bind the
activation/disactivation of both options to `host_key_checking`
provisioner attribute.

For the records, a discussion held in Ansible-Development mailing list
clearly confirmed that there is no short-term plan to adapt Ansible to
offer an extra option or change the behavior of
ANSIBLE_HOST_KEY_CHECKING. For this reason, the current implementation
seems reasonable and should be stable on the long run.

Close #3900

Related References:

- https://groups.google.com/forum/#!msg/ansible-devel/iuoZs1oImNs/6xrj5oa1CmoJ
- https://github.com/ansible/ansible/issues/9442
2014-11-30 09:55:48 +01:00
Gilles Cornu 178942cf27 provisioners/ansible: change arguments arrangement
- force `--connection=ssh` (any other modes like paramiko or smart are not
  supported)
- give the highest priority to `raw_arguments` for sake of simplicity (in
  usage, in code and in documentation)
- fix position of the `--limit` argument (the generated inventory could be
  shadowed by `raw_arguments`, while ansible.limit was able to override
  `raw_arguments`

ref #3396
2014-11-30 09:50:50 +01:00
Gilles Cornu 306c4f7eda provisioners/ansible: force --connection=ssh
When `--connection` argument is not specified, Ansible will use the
'smart' mode, which can either use `ssh` or `paramiko` transports,
depending of the version of OpenSSH available. If OpenSSH version is new
enough to support ControlPersist technology, `ssh` will be used.
See also http://docs.ansible.com/intro_configuration.html#transport.

In order to support some advanced features of Vagrant (e.g. multiple ssh
private key identities or ssh forwarding), the Ansible provisioner
already must force `ssh` connection mode.

Having to deal with the possible fallback to `paramiko` increase the
burden of special cases that Ansible provisioner must handle, without
any added value, as Vagrant is based on OpenSSH and its users are
usually using modern operating systems.

With this change, the Ansible provisioner will officially only support
`ssh`. It will still be possible to switch to another connection mode
via `raw_arguments`, but it will breach the "contract", and no
(community) support can be expected in such use case.

ref #3900, #3396
2014-11-30 09:50:50 +01:00
Seth Vargo 9ae6cdaddc Add Chef Apply documentation 2014-10-30 15:53:19 -04:00
Seth Vargo ea3c6fe902 Use spaces in website docs 2014-10-30 13:43:26 -04:00
Teemu Matilainen 2d78f1a816 website/docs: Add documentation for the Chef Zero provisioner 2014-10-30 13:43:24 -04:00
Mitchell Hashimoto ee0423b792 website/docs: update docs for new provisioner style 2014-10-23 19:00:26 -07:00
Mitchell Hashimoto f6f784b72b website/docs: update docs for powershell-args 2014-10-23 09:53:55 -07:00
Mark Whelan b22259107b fix typos 2014-09-23 14:38:26 -04:00
Mitchell Hashimoto 6747f12951 website/docs: clarify that add_recipe order matters 2014-09-16 11:24:35 -07:00
Mitchell Hashimoto 0ea21b686f Update chef_client.html.md 2014-08-12 14:07:16 -07:00
anatoly techtonik ebf5b12796 doc: Directories are not supported for destination (issue4147) 2014-07-05 16:21:48 +03:00
anatoly techtonik 329b88bbb4 docs: Add usage example to provisioning/file 2014-07-05 16:13:20 +03:00
Shawn Neal ab6cac8c74 Fix spelling of Chef Solo, Chef Client, and Chef Server in website docs 2014-06-29 16:56:02 -07:00
Marno van der Molen 6d0dd22864 Also copy minion config in bootstrap-salt.ps1 & update Salt docs to mention syndic/master not supported on Windows 2014-05-19 14:01:31 +02:00
Mitchell Hashimoto a5ca5b39ab website/docs: make mention of docker provider on provisioner page 2014-05-08 13:15:13 -07:00
Krzysztof Szularz fd8f1ed0cc Amend default manifest name for puppet apply
Option listing still quoted `init.pp` as default manifest name.
2014-05-08 16:07:50 +02:00
Fabio Rehm d64c1f750c website/docs: Add missing `end` to "Run Once or Always" example 2014-05-01 18:50:51 -03:00
Mitchell Hashimoto f6683ad016 website/docs: update slat docs 2014-05-01 13:49:12 -07:00
deyk 567af495d4 Add colorization and log_level support to salt provisioner.
This commit adds two new options to the salt provisioner:

- `colorize`: controls color output. Defaults to no-color (present behavior).
- `log_level`: controls log level. Defaults to `debug` (present behavior).

Docs included!
2014-05-01 11:10:09 -07:00
Christian Berendt b05e506031 fixed typos found by topy in all Markdown files
Topy is available at https://github.com/intgr/topy.
2014-05-01 16:22:23 +02:00
Mitchell Hashimoto 490562f00a website/docs: run once and always provisioners 2014-04-30 18:53:24 -07:00
Emilien Kenler dd06dffe85 Ansible Vault support
Add the following options to the Ansible provisioner:
- ask_vault_pass
- vault_password_file
2014-04-21 13:56:15 -07:00
Mitchell Hashimoto 9dd45ac81c website/docs: update docs for winrm shell provisioning 2014-04-21 13:53:58 -07:00
Mitchell Hashimoto 58916f272d website/docs: update docs for winrm shell provisioning 2014-04-21 13:53:55 -07:00
Mitchell Hashimoto 374d1c495a provisioners/docker: auto-assigned name shouldn't have / [GH-3216] 2014-04-11 18:50:02 -07:00
Mitchell Hashimoto b26a3c88aa website/docs: clarify docker 2014-04-09 14:31:22 -07:00
Diego Zamboni f6d3d3a5e5 Documentation for the CFEngine provisioner
Added documentation for the CFEngine provisioner.
2014-04-07 18:03:33 -05:00
Mitchell Hashimoto 444e01e32f website/docs: fix incorrect config option for p uppet 2014-04-05 09:26:31 -07:00
Mitchell Hashimoto 0fe3c9187e website/docs: update docker provisioner 2014-04-02 08:45:20 -07:00
follower 24e551a1dc Document solution for wrong SSH user with Ansible
As per: https://github.com/mitchellh/vagrant/pull/2710#issuecomment-32192976
2014-04-03 03:17:36 +13:00
Jaik Dean e8c7468885 Minor grammar corrections to Ansible provisioning documentation 2014-03-27 15:06:52 +00:00
jjshoe 9cdcdeb42a Nit-picky grammer making it easier to read. 2014-03-10 17:26:48 -05:00
Gilles Cornu 1d09fc4a79 provisioners/ansible: add new option raw_ssh_args
Since the Ansible provisioner now potentially exports ANSIBLE_SSH_ARGS
variable, it is fair to allow to extend the content of this environment
variable (`ssh_args` parameters from ansible.cfg file have lower
priority)
2014-03-09 22:47:24 +01:00
Gilles Cornu c39912287d website/docs: remove unwanted brackets (typo) 2014-03-06 23:57:47 +01:00
Gilles Cornu 1d328f7021 provisioners/ansible: Disable host key checking
Close #3060
2014-03-06 23:55:08 +01:00
Mitchell Hashimoto 857b989c47 provisioners/docker: setting to not auto assign name 2014-03-04 07:31:13 -08:00
Mitchell Hashimoto a1b29ca82b Merge pull request #2991 from gildegoma/review-pr2926
provisioner/ansible: Ansible single inventory file
2014-02-27 11:30:12 -08:00
odigity 91af6a7b81 added docs for 'file' provisioner 2014-02-25 11:33:08 -05:00
Gilles Cornu 49b5b6515d Ansible Docs: Tip about wrong remote user
Hint motivated by misleading situations reported in #2710.
2014-02-25 06:59:39 +01:00
Gilles Cornu 84eb0d972c Ansible Docs: Tip to ship a local `ansible.cfg`
Hint motivated by misleading situations reported in #2302.
2014-02-25 06:57:10 +01:00
Gilles Cornu f83f863d4d website/docs: Update Ansible URLs 2014-02-24 17:02:39 +01:00
Gilles Cornu 1cd2fe56a0 ansible: generate inventory in .vagrant/... 2014-02-24 16:52:38 +01:00
Gilles Cornu d5055c6252 provisioners/ansible: improve `inventory_path` doc
Related to discussion held in #3004.
2014-02-24 16:47:10 +01:00
Teemu Matilainen 2aa3a8bcde website/docs: sync Chef option documentation
[ci skip]
2014-02-22 00:59:14 -03:00
Gilles Cornu 74c4ae06c1 Ansible Docs: Tip about Parallel Multi-Machine 2014-02-17 22:36:46 +01:00
Gilles Cornu 17a4d75fd5 Ansible: Try to document the limit breaking change 2014-02-17 22:34:38 +01:00
Gilles Cornu c2663f5d30 provisioners/ansible: Fix Group Management
- Support arbitrary depth of "groups of groups of ... groups"
- Skip ':vars' suffix, but allow group names with ':' (yes, Ansible
  accepts this character)
- Like for groups of machines, groups of groups can result "empty", but
  it is not an issue for Ansible. Recursive filter on the group tree is
  a bit hard to implement, and don't brind real added value at Vagrant
  level.
2014-02-16 11:20:00 +01:00
Mitchell Hashimoto 8603aeb2b9 website/docs: document it 2014-02-03 21:56:41 +01:00
Mitchell Hashimoto 1d69e95c1c provisioners/docker: config to disablize -d flag 2014-02-03 16:14:59 +01:00
Gilles Cornu b723f0d43d provisioners/ansible: Document new default limit
- explain new default ansible.limit
- shift `ansible.groups` part to Inventory section
- change/add inventory examples
2014-02-03 11:45:03 +01:00
Mark Aaron Shirley 3bf5032d4b Update Ansible provisioner to only create a single inventory file
The Ansible provisioner will now only create a single inventory file named,
"vagrant_ansible_inventory". All defined Vagrant machines will be added to
this inventory file. Provisioning will now include a "--limit=#{machine}"
option to scope Ansible provisioning tasks to just the current machine. Setting
the Ansible provisioner's "limit" config option will override the new default
limit. Ansible provisioning scripts will now have access to all other defined
machines and what groups they reside in.
2014-02-01 13:04:20 -08:00
Mitchell Hashimoto 2ca498a5dd provisioners/docker: build images using new DSL 2014-01-14 09:22:55 -08:00
Mitchell Hashimoto 5c4973beb8 Merge pull request #2658 from gildegoma/ansible_doc_small_improvements
website/docs: cosmetic improvements on Ansible
2014-01-07 14:07:57 -08:00
Mitchell Hashimoto ab57550291 website/docs: document puppet options 2014-01-02 14:49:15 -08:00
Mitchell Hashimoto cf017822ca website/docs: document synced_folder_type for chef 2014-01-02 14:42:40 -08:00
mbargar 396d1bb7c1 Correcting the name and url for the Dockerfile instruction that sets the default command to run in an image 2013-12-20 16:09:23 -05:00
Gilles Cornu e5f45e2b79 Ansible: Fix a bug in `raw_arguments` option
Without this change, it is not possible to pass more than one "raw"
argument, which was not the expected behavior. In addition to Array
format, String (for a single argument) is still accepted (for sake of
"backward compatibility" and ease of use).

Note: Due to low/expert usage of this option, I think that it is not
necessary to add more robust validation on this parameter (e.g. Array
of String type checking or argument syntax pattern matching). Use it at
your own risk ;-)
2013-12-16 21:20:10 +01:00
Gilles Cornu d584a56ac2 Ansible Docs: Display multiline examples in block 2013-12-14 16:14:20 +01:00
Gilles Cornu 213534d185 Merge pull request #2606 from maspwr/ansible-groups
Add ability to use Ansible groups in generated inventory. Fixes #2551.
2013-12-14 07:03:22 -08:00
Anthony Scalisi d086d6d775 mention chef.delete_node and chef.delete_client methods in the DOCS 2013-12-10 10:48:27 -08:00
Mark Aaron Shirley 7dc660fd7f Add Ansible groups docs. 2013-12-08 23:33:51 -08:00
Fabio Rehm 6d7a2fe113 website/docs: Add some links to Docker provisioner page 2013-12-05 22:14:57 -02:00
Fabio Rehm bdd4e82e49 website/docs: Add an example on how to run multiple containers based off the same image 2013-12-05 22:13:46 -02:00
Mitchell Hashimoto 76fd0e7efd website/docs: document the Docker provisioner 2013-12-03 16:29:06 -08:00
Mitchell Hashimoto 1156841225 website/docs: clarify when provisioners are run [GH-2541] 2013-11-26 18:46:05 -08:00
Mitchell Hashimoto 6f2d6981cb website/docs: better Chef docs [GH-2436] 2013-11-26 11:44:16 -08:00
Mitchell Hashimoto 25a8491465 provisioners/puppet: manifests path can be in the VM [GH-1805] 2013-11-25 22:39:20 -08:00
Mitchell Hashimoto e72cd9c98e provisioners/puppet: can specify a client key/cert 2013-11-25 15:17:05 -08:00
Mitchell Hashimoto 57d4775140 provisioners/shell: allow array args [GH-1949] 2013-11-25 13:36:51 -08:00
Mitchell Hashimoto 10daa6fddf Merge pull request #2366 from gildegoma/ansible-extra-vars
provisioners/ansible: Improvements for 'extra_vars' argument
2013-11-24 21:21:44 -08:00
Mitchell Hashimoto b65b22cef2 update changelog 2013-11-23 16:05:44 -08:00
Mitchell Hashimoto 2a35ec425c Merge pull request #2505 from jaugustin/shell-keep-color
provisioner/shell: add keep_color option to allow custom color output
2013-11-23 16:03:15 -08:00
Mitchell Hashimoto 0166e26990 Merge pull request #2460 from jeremyfelt/patch-1
website/docs: Add CentOS 'testing' argument for install_type
2013-11-23 11:26:59 -08:00
Phil Smith bd588a0ffe Typo! 2013-11-18 19:06:01 -08:00
jaugustin 722e9e6afb [Provisioner][Shell] add keep_color option to allow custom color output 2013-11-16 13:34:58 +01:00
Jeremy Felt fdfd09b632 Add CentOS 'testing' argument for install_type
The Salt bootstrap file allows for the use of a testing repository in CentOS systems.
2013-11-05 09:36:45 -08:00