Commit Graph

419 Commits

Author SHA1 Message Date
codybennett b70340b0d1
Update box.html.md
Grammatical correction to Box Prune documentation 

Italicize Box Update "Note"
2017-12-06 18:41:35 -06:00
Justin Campbell 161cf35884 website: Fix Vagrant Cloud API examples
When using Turbolinks to navigate between docs pages, the document ready event never fired and all language examples were shown. This should fix the issue without needed a refresh/example menu click.
2017-12-06 15:03:11 -05:00
Brian Cain f0fa6371a3 Include virtualbox 5.2.x as supported in docs 2017-12-01 09:01:01 -08:00
David Manouchehri 3bf41e8c2b
Remove outdated statement. Windows and macOS use native Docker by default (see 05b6cdab6c). 2017-11-29 19:15:37 -05:00
Brian Cain ec43d3c308 Update destroy docs with new parallel flag 2017-11-02 10:16:44 -07:00
magicrootZ 80900f4d61 Update format.html.md
typo
2017-10-23 08:03:34 -07:00
Justin Campbell 1aaa03c1b0 website: Prefer Authorization over X-Atlas-Token 2017-10-20 17:10:31 -04:00
Justin Campbell fef7320107 website: Fix Vagrant Cloud API typos 2017-10-20 16:57:22 -04:00
Justin Campbell 15b095745f website: Use vagrant-cloud layout for all VC docs 2017-10-20 16:32:03 -04:00
Justin Campbell 38b16684b3 website: Add vagrant-cloud layout
Has sticky sidebar and support for navigating anchor tags
2017-10-20 16:32:03 -04:00
Justin Campbell b8216cfa7e website: Add Vagrant Cloud API docs for 2FA 2017-10-20 16:32:03 -04:00
Justin Campbell adf2a21ef8 website: Add Vagrant Cloud API docs for orgs 2017-10-20 16:32:03 -04:00
Justin Campbell 654f39dad0 website: Change API to erb, move content_for head 2017-10-20 16:32:03 -04:00
Justin Campbell 9c00219903 website: Vagrant Cloud API docs 2017-10-20 16:32:03 -04:00
Patrick Coffey 6ab63d9a63
docs(hyper-v): Clarify Hyper-V availability, and reference official Hyper-V documentation. 2017-10-18 16:34:14 -05:00
Jonathan LaBroad 56861296fa Added tests and validation for python_version parameter 2017-10-05 06:25:36 -04:00
Jonathan LaBroad 3524eb9ef4 Merge remote-tracking branch 'upstream/master' 2017-10-04 14:59:57 -04:00
bjorn 6fb697ee32 Add auto_start_action and auto_stop_action to docs. 2017-10-04 10:09:15 +02:00
Chris Roberts 2355936291 Update documentation link 2017-09-22 16:31:06 -07:00
Jordan Danford de16f56b45 Fix stray backquote in "Vagrantfile / SSH Settings" section of docs 2017-09-20 09:37:31 -07:00
Jonathan LaBroad 6f53c3991c Merge remote-tracking branch 'upstream/master' 2017-09-11 09:15:22 -04:00
Chris Roberts 34addec796 Merge pull request #8913 from mitchellh/gildegoma/6570-ansible-compatibility-mode
Ansible: Add "compatibility_mode" and "*become*" common options; Move "version" to common options
2017-09-06 13:18:08 -07:00
Gilles Cornu ac75e409a3
provisioners/ansible(both): Quote host_vars if needed
This patch is based on @subimage's inputs in the related GitHub issue.
Thanks again!

Fix #8597
2017-09-06 21:22:41 +02:00
Gilles Cornu 4dc3e59b08
provisioners/ansible(both): Review of PR #8913
- Keep the Programming Errors with corresponding Exception class and
  en.yml message template. Fix the alphabetical order in errors.rb by
  the way.
- Fix English wording in the documentation and en.yml messages
- Use StandardError for unknown error rescuing.

Thanks @chrisroberts!
2017-09-06 17:12:50 +02:00
Gilles Cornu dc3b6341e2
provisioners/ansible: Check compatibility conflicts
Vagrant will verify that the current Ansible version does support the
requested compatibility mode (only applicable if not "auto", of course).

As mentioned in the documentation, there is no sanity checks between
`version` option and `compatibility_mode` option.

With this change, the host-based provisioner is also improved to
execute only once the "ansible" command (and store the gathered
information for multiple usages like version requirement and
compatibility checks). On the other hand, the guest-based provisioner
can still potentially execute "ansible" twice (once in the
AnsibleInstalled cap, and via "gather_ansible_version" function via
Base::set_compatibility_mode).
2017-09-06 17:12:40 +02:00
Gilles Cornu 270618284c
docs/ansible: Fix an internal hyperlink
Fixing a typo made in 073898046542323eb11c2e129f37fa558ae201e1,
after getting the confirmation that all the Vagrant docs will continue
to use full path for internal links (for the moment).

[ci skip]
2017-09-06 17:12:39 +02:00
Gilles Cornu 8c0df3d046
provisioners/ansible: Move `version` to common options
Before this change, only the ansible_local provisioner supported this
option (for ansible version requirement, and pip installation). Now, the
ansible host-based provisioner can also require a exact ansible version.

Resolve #8914

Note: this has been added as part of #6570 resolution, since the
introduction of the `compatibility_mode` auto-detection made both
provisioners made capable to detect ansible version.

Pending: optimize the code to avoid duplicated executions of "ansible
--version" command.
2017-09-06 17:12:35 +02:00
Gilles Cornu a327e34861
provisioners/ansible: Validate compatibility_mode
- Use `'auto'` instead of `nil` for the auto-detection mode
- Add strict validation and related error message
2017-09-06 17:12:32 +02:00
Gilles Cornu e2621a42fc
docs/ansible: Align the "warn/info" notices style
Motivated by the 4d546a58e1243168f58e20ca53cab71b31e44ae9 changes.
2017-09-06 17:12:29 +02:00
Gilles Cornu 8834afbd8e
provisioners/ansible(both): Add compatibility mode
With this change, it is now possible to get rid of many deprecation
messages successively introduced in Ansible 1.9, and 2.0. More
interesting, the generated inventory will contain the recommended
variable names (e.g. `ansible_host` instead of `ansible_ssh_host`)
when the compatibility mode is set to '2.0'.

Details:

- Add `compatibility_mode` option to control the Ansible parameters
  format to be used. The value corresponds to the minimal version
  supported. For the moment, possible values are '1.8' (corresponding to
  Vagrant's former behaviour) or '2.0'.
  Note that a dynamic inventory generated in compatibility mode '2.0'
  is not supported by Ansible 1.x. On the other hand, Ansible 2.x so far
  supports inventory format generated by the compatibility mode '1.8'.

- Add compatibility mode auto-detection, based on the available Ansible
  version. This is the default behaviour in order to bring a maximum of
  user friendliness. The drawback of this approach is to let potential
  compatibility breaking risks, for `ansible` provisioner setups that
  already integrate Ansible 2.x **AND** rely on the existence of
  the generated `_ssh` variable names. Thanks to the vagrant warnings
  (and its release notes), I argue that it is worth to offer
  auto-detection by default, which offers a sweet transition to most
  users.

- Add `become`, `become_user` and `ask_become_pass` options and their
  backwards compatible aliases. The legacy options are now deprecated.

Note that we intentionally didn't provide a '1.9' compatibility mode,
as it would add extra-complexity for practically no added-value.
To my knowledge, the Ansible 2.x series haven't introduced yet any major
changes or deprecations that would motivate to introduce a higher
version compatibility mode (to be confirmed/verified).

Resolve GH-6570

Still Pending:

- Optimization: Reduce the number of `ansible` command executions.
  Currently two exec calls will be performed when the compatibility
  mode auto-detection is enabled (i.e. by default). We could make the
  provisioner a little bit smarter to only execute `ansible` only once
  in any situation (by combining "presence" and "version" checks).

- User-friendliness: Add better validator on `compatibility_mode`
  option, and shows a warning or an error instead of the silent
  fallback on the auto-detection modus.

- Test coverage: All the added behaviours are not fully covered yet.
2017-09-06 17:12:22 +02:00
Brian Cain a9564b2137 (#8933) Align file provisioner functionality on all platforms
This commit aligns how the file provisioner should work on all host
machines. It ensures that a `/.` is only applied if the user intended
to upload a folder to a destination under a different name. It ensures
that if uploading to a windows guest with a different destination folder
name, it does not nest the source folder under that name so that it
works the same as it does on linux platforms. It also updates the
behavior of the winrm upload communicator by allowing an array of paths
to be uploaded instead of a single file or folder to allow for this new
functionality for windows guests.
2017-08-31 15:57:53 -07:00
Brian Cain 432cb8d915 (#7826) Add salt_arg option for passing flags to salt tool
This commit introduces the salt_arg option that allows a user to pass
additional command line flags to the `salt` tool when provisioning with
a master setup.

It also adds additional config validation to ensure that both
`salt_args` and `salt_call_args` is an array.
2017-08-29 14:11:06 -07:00
Brian Cain 9a29d7be6b (#7836) Introduce salt_call_args option for salt provisioner
This config option for the salt provisioner allows you to pass
additional arguments to the salt-call executable.
2017-08-29 11:17:29 -07:00
Jonathan LaBroad cec589ecd9 Updating documentation 2017-08-29 13:17:56 -04:00
Gilles Cornu c3f0b1c1b2 Ansible Docs: Fix headers and indentation
Align the headers style and wording in the intro page.

[ci skip]
2017-08-22 19:18:32 +02:00
Gilles Cornu e436f53fe9 Ansible Docs: Fix a typo in Markdown indentation
[ci skip]
2017-08-22 07:54:00 +02:00
Brian Cain ea59cfdb92 Merge pull request #8895 from briancain/8697/master/add-ssh-extra-opts
Introduce extra_args setting for ssh configs
2017-08-21 16:26:52 -07:00
Chris Roberts dce71a5a27 Merge pull request #8892 from StephenOrJames/patch-1
Remove extra shell prompt
2017-08-21 14:57:31 -07:00
Brian Cain ffec0ff8d9 (#8697) Introduce extra_args setting for ssh configs
Prior to this commit, there was no way to add additional ssh arguments
within a Vagrantfile for a given vagrant machine. This commit introduces
a new option extra_args that allows users to pass in a single argument
or an array of flags that will be added onto the ssh command.
2017-08-17 09:02:20 -07:00
Justin Campbell d014cdac65 website: Fix mailto link 2017-08-16 17:21:56 -04:00
Justin Campbell 9db1c4b438 website: Add link to Vagrant Cloud docs source 2017-08-16 16:29:27 -04:00
Justin Campbell 6ddc418947 website: Add support link to index 2017-08-16 16:23:23 -04:00
Justin Campbell d920a4fe46 website: Update support email address 2017-08-16 16:20:35 -04:00
Justin Campbell 04586e1ec0 website: Add link to account migration page 2017-08-16 16:13:22 -04:00
Stephen James eaca868a76 Remove extra shell prompt 2017-08-16 01:12:28 -04:00
hvle 8086f4b71a typo 2017-08-12 22:58:12 +02:00
Brian Cain 623b117208 Merge pull request #8682 from Telekom-PD/omnibus-url
Add config option omnibus_url for chef provisioners
2017-08-03 09:19:13 -07:00
Artem Sidorenko 875c2edc62 Add config option omnibus_url for chef provisioners
This option is useful for internal setups, where own customized
omnibus installation script is used (e.g. to get chef from a mirror)
2017-08-03 10:06:27 +02:00
Chris Roberts 5817cef233 Update docs to properly name Vagrant Cloud 2017-07-31 16:33:18 -07:00
Chris Roberts d06fbb845b Update documentation to include more environment variable information 2017-07-26 15:30:41 -07:00
Alvaro Miranda Aguilera cc381a0f6b update per review 2017-07-20 22:37:48 +02:00
Alvaro Miranda Aguilera 591670d8a5 add note about groups for sudoers 2017-07-20 20:33:47 +02:00
TrueGit 49522f97ce Fix minor typo in website documentation 2017-07-20 12:51:46 -04:00
Óscar García Amor d0a3823fe8 Docs: fix path of Vagrant location for OSX 2017-07-08 17:03:06 +02:00
Chris Roberts bcc09e10e6 Make upload directory for winssh communicator configurable
Fixes #8731
2017-07-07 11:04:37 -07:00
Chris Roberts e4b6ac70a6 Add `VAGRANT_PREFERRED_PROVIDERS` to environment variables documentation page 2017-07-06 12:41:16 -07:00
Chris Roberts d0b5a8f76c Merge pull request #8750 from briancain/maint/fix-typo
Fix rsync-auto typo
2017-07-05 15:24:32 -07:00
Letla Fox 3664f527ec Fix typo in docs
- surpress -> suppress
2017-07-05 06:45:50 +09:00
Brian Cain da1c2f7dc0 Fix rsync-auto typo 2017-07-03 15:22:32 -07:00
Chris Roberts 7ddb167562 Fix removed links and atlas references 2017-06-29 08:46:31 -07:00
Brian Cain 0225d63055 Merge pull request #8722 from briancain/add-post-setup-proc-for-docker
Add post-install provisioner to docker provisioner
2017-06-28 08:32:23 -07:00
Brian Cain a05d95bd0a (#7139) Add post-install provisioner to docker provisioner
Prior to this commit, if a user attempted to configure
`/etc/default/docker` through vagrant prior to installation, the package
manager would not override an existing configuration and installing
docker would then fail. This commit fixes this by introducing a
`post_install_provisioner` that allows users to define a provisioner
block that will run after docker has been installed, allowing users to
configure `/etc/default/docker` how they want.
2017-06-27 16:01:23 -07:00
Chris Roberts 5f955c3d38 Convert atlas references to vagrant cloud 2017-06-23 10:01:51 -07:00
Brian Cain eec20a6506 Add information about extra box info
This commit adds a new page to vagrants docs around supplying an
`info.json` file for vagrant boxes.
2017-06-22 13:45:05 -07:00
Aaron Kunz 6e2c6141d0 Use proper snapshot subcommand anchors 2017-06-16 20:43:12 +02:00
Brian Cain fbda3af106 Merge pull request #8693 from briancain/7855/master/introduce-more-ssh-config-options
Introduce more ssh options for machines
2017-06-15 16:38:18 -07:00
Brian Cain b02f110cd8 (#7855) Introduce more ssh options for machines
This commit allows the user to configure two additional options that
were previously not configurable: Compression and DSAAuthentication.
Each config option is set as a boolean, and if left out of the config
will default to its previous behavior which is included and set to
"yes". If the user explicitly sets it to false, it will not be included
as an ssh option.
2017-06-15 16:29:53 -07:00
Brian Knight 8b8ae6652e Merge changes from master 2017-06-15 10:16:25 -04:00
Chris Roberts ddb3205536 Merge pull request #8596 from tonynguyen68/patch-1
Update environmental-variables.html.md
2017-06-14 16:40:43 -07:00
Chris Roberts b35a8f0447 Merge pull request #8599 from vmelnik-ukraine/fix/master/boxes_doc_example
Fix #8598 : example in docs for box usage.
2017-06-14 16:38:19 -07:00
Chris Roberts 0f7443d65a Merge pull request #8647 from DAXaholic/fix-box-subcmd-anchors
Use proper box subcommand anchors
2017-06-14 15:23:51 -07:00
Justin Campbell 17691bac10 website: Packer box version should be variable
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:09:41 -04:00
Aaron Kunz 78e16a7d10 Use proper box subcommand anchors 2017-06-05 14:18:10 +02:00
Matthew Hooker c8a45d9d17 add closing ` 2017-05-31 12:27:05 -07:00
Justin Campbell 6cd257a4b4 website: Update Vagrant Cloud migration docs 2017-05-30 11:05:19 -04:00
Brian Knight fe0836b637 Add prune to option list. Alphabetize order. 2017-05-27 21:04:17 -04:00
Justin Campbell 3a14e7c8ef website: Fix Vagrant Enterprise docs links 2017-05-19 12:35:14 -04:00
Justin Campbell 37c12eed01 website: Vagrant Cloud Migration docs 2017-05-19 12:09:37 -04:00
Justin Campbell b862724ce1 website: Vagrant Enterprise user docs 2017-05-19 12:05:34 -04:00
Justin Campbell 821ae518f7 website: Vagrant Enterprise Support docs 2017-05-19 11:59:33 -04:00
Justin Campbell fc286c3c32 website: Vagrant Enterprise organization docs 2017-05-19 11:43:59 -04:00
Justin Campbell d2ac4c983a website: Replace Atlas with Vagrant Enterprise 2017-05-19 11:24:04 -04:00
Justin Campbell 734479a494 website: Add Vagrant Ent request limit docs 2017-05-19 11:19:03 -04:00
Justin Campbell 4eacb3d492 website: Import Vagrant Enterprise docs 2017-05-19 11:01:01 -04:00
vmelnik-ukraine 9400a85324 Fix #8598 : example in docs for box usage. 2017-05-18 14:20:31 +08:00
tonynguyen68 1c3173b1de Update environmental-variables.html.md 2017-05-17 22:09:40 +07:00
Chris Roberts d1c1c175a0 Support modifications of composition outside services 2017-05-12 15:09:30 -07:00
Chris Roberts 4a05e8561f Update `force_host_vm` configuration documentation and add `compose`. 2017-05-12 15:09:30 -07:00
Chris Roberts 3c44ce9742 Support vbox provider within WSL rootfs. Make Windows access easier.
Enables proper setup of VMs started from within WSL rootfs paths. Updates
setup for Windows access when working within the WSL to auto-detect settings
instead of relying on user defined environment variables.
2017-05-12 13:11:53 -07:00
Chris Roberts 370e27b919 Update documentation for WSL 2017-05-10 10:32:04 -07:00
Chris Roberts 7e49c6a609 Add documentation for WSL 2017-05-08 15:33:40 -07:00
Chris Roberts c691066924 Merge pull request #8559 from DAXaholic/fix-typo
Fix typo
2017-05-08 10:03:34 -07:00
Björn Brala 2a777f0561 Update docs to reflect correct setting for key_value_pair_exchange (see issue #8551) 2017-05-05 17:10:09 +02:00
Aaron Kunz a7f14102d4 Fix typo 2017-05-04 18:51:43 +02:00
Chris Roberts c042fa8b24 Add configuration documentation for winssh communicator 2017-04-16 08:02:39 -07:00
Dafydd Jones 71216cf4f9 update latest salt minion version for windows 2017-04-13 12:36:45 -07:00
Chris Roberts 3c8b2ae097 Include documentation entry for plugin source errors environment variable 2017-04-05 13:17:48 -07:00
Justin Campbell f7ced44835 website: Add ngrok description and link 2017-04-03 09:54:30 -04:00
Chris Roberts cbaf136fca Merge pull request #8368 from chrisroberts/vmware/whitelist-doc
Add documentation section on whitelisting in VMware boxes
2017-03-28 15:23:24 -07:00
Seth Vargo 0d7d65fdeb
Rebrand to match HashiCorp styles 2017-03-27 21:24:57 -04:00
Gilles Cornu 80d105cf8c
ansible_local: Add the :pip_args_only install mode
With the introduction of `pip_args` option, you can easily extend the
`:pip` installation mode behaviour. But some interesting/advanced usages
are still not possible because of the auto-generated parts ("ansible"
package, version selection, and the `--upgrade` flag).

By adding this "pip_args_only" install mode, it will be for instance
possible to:
- install unofficial releases, like release candidates published at
  https://releases.ansible.com/
- install more pip packages (e.g. via a `requirements.txt` file), with
  hash validation, etc.

Note that there is no config validation that requires `pip_args` option
to be defined when the :pip_args_only mode is selected. This would be
more elegant, and user friendly to raise a configuration error, but this
can wait. At least, running with an empty `pip_args` won't lead to any
command crash, since the rather dummy "pip install" shows an helper
notice and terminates with a zero (0) exit code.

This change is thought as a complement to the changes originally
proposed in pull request GH-8170.
2017-03-24 17:35:34 +01:00
Gilles Cornu b40d347944
ansible_local: Polish the new `pip_args` option
Ref GH-8170
2017-03-24 00:01:17 +01:00
James Carr 7e2e5654ed
ansible_local: Add `pip_args` option
With this new option, it is now possible to pass additional arguments to
pip command when the `install_mode` is "pip".

(@gildegoma reworded the original commit message of pull request GH-8170)
2017-03-24 00:01:14 +01:00
John Van Tuyl f807e5a8be The Hyper-V provider works fine in Windows 10
10 is the version most people will be using anyway.
2017-03-23 10:03:42 -07:00
Chris Roberts 256ce3b0d5 Merge pull request #8264 from hasyimibhar/command-validate
Add validate command
2017-03-23 09:52:12 -07:00
Bjorn Brala 0534ebf895 Merge remote-tracking branch 'mitchellh/master' into feature-hyperv-integration-services-fresh
# Conflicts:
#	plugins/providers/hyperv/action/import.rb
#	plugins/providers/hyperv/config.rb
#	website/source/docs/hyperv/configuration.html.md
2017-03-23 07:49:57 +01:00
Chris Roberts 1c1adcad9a Merge pull request #8325 from chrisroberts/enhancement/nested-hyperv
Nested Hyper-V
2017-03-17 14:19:58 -07:00
Bjorn Brala e2dd23b06c First implementation for Integration services for Hyper-V as discussed in https://github.com/mitchellh/vagrant/pull/6321 #6321 2017-03-15 22:12:19 +01:00
Chris Roberts 1b44cb1b13 Add documentation section on whitelisting in VMware boxes 2017-03-14 09:36:14 -07:00
Chris Roberts 311e74b179 Merge pull request #8308 from nathanielks/patch-1
Update snapshot.html.md
2017-03-13 09:48:16 -07:00
René Schodder (Herlitz) b321f40153 Fixed Typo in Fedora commands on /etc/sudoers 2017-03-13 13:05:11 +01:00
Chris Roberts dbf01572ef Merge pull request #8122 from chrisroberts/virtualbox/uid-gid
Use uid/gid from mount_options if provided for synced folders.
2017-03-06 14:21:11 -08:00
Patrick Lang 06a0866d72 Update hyperv config and OS version requirements 2017-03-02 14:06:49 -08:00
Chris Roberts b3a0dad200 Add linked_clone option to vmware docs 2017-02-28 09:50:23 -08:00
Chris Roberts 71b6ba5430 Add docs for ngrok share 2017-02-27 16:29:46 -08:00
Nathaniel 3fb434ac61 Update snapshot.html.md
Updated docs to specify the use of the `vm-name` when restoring a snapshot.
2017-02-27 10:19:55 -08:00
Chris Roberts 8530250f4a Merge pull request #8237 from soleuu/patch-1
port forwarding rule name
2017-02-23 12:32:33 -08:00
Chris Roberts fbe9e22a87 Merge pull request #8219 from kivoli/update-nfs-docu
Reflect NFS setup changes in documentation
2017-02-22 13:40:20 -08:00
Florian Breisch 84f49bf0ce Add hint for .verbose-attribute 2017-02-20 16:40:24 +01:00
Hasyimi Bahrudin 0044d560e0 Fix typo in docs 2017-02-08 03:26:37 +08:00
Hasyimi Bahrudin e0fb8b1fad Add documentation for validate command 2017-02-07 14:15:16 +08:00
Chris Roberts 255275061c Use Gem::Version class to ensure expected comparison results 2017-02-01 13:22:23 -08:00
Chris Roberts a8966187af Merge pull request #8176 from unclejack/fix_linked_clones_docs
website: make linked clones work w/ 1.8.0 & newer
2017-02-01 13:17:40 -08:00
Chris Roberts b72bb345d8 Merge pull request #8195 from chrisroberts/docs/pty-output
Add note on output behavior when pty enabled.
2017-02-01 13:10:35 -08:00
Chris Roberts 9cd636c4d9 Merge pull request #8100 from chrisroberts/docs/vagrant-salt
Add note about vagrant-salt plugin
2017-02-01 12:44:34 -08:00
Chris Roberts b63d6bac1a Merge pull request #8246 from rugo/master
[Docs] Added auto_correct to list of options
2017-02-01 11:19:16 -08:00
rugo e94cba7445 Added auto_correct to list of options
Added auto_correct to list of options in Docs. See issue #8245.
2017-02-01 17:40:27 +01:00
soleuu 742a46c635 port forwarding rule name
To identify rules, we can name them using the id parameter.
It prevent from adding lots of comments in the Vagrant file and to have un-named rules in your VirtualBox port lists.

It is very important when you have a lot ogf rule to identify witch one you want to edit.

For example:
config.vm.network "forwarded_port", guest: 80  , host: 8080 , id:"http-proxy"
2017-01-30 12:03:32 +01:00
Leonhard Preis 19780b6342 Reflect NFS setup changes in documentation
Fixes sudoers file for NFS synched folders outdated #8218
2017-01-20 10:19:11 +01:00
Alvaro Miranda Aguilera 560ed2bfee add note that puppet need to be installed 2017-01-15 07:38:43 +01:00
Chris Roberts 64d49451ab Add note on output behavior when pty enabled. 2017-01-12 13:34:40 -08:00
unclejack 877e7e29b1 website: make linked clones work w/ 1.8.0 & newer
The previous code only worked on Vagrant 1.8.x, but not on 1.9.x or
newer.
2017-01-06 16:09:48 +02:00
Chris Roberts 159fca9d13 Merge pull request #8109 from kenorb/patch-2
Add missing config.ssh.keep_alive docs [GH-516]
2017-01-05 15:23:57 -08:00
Chris Roberts 5b3ecda5ba Merge pull request #8143 from danielmenezesbr/danielmenezesbr-patch-doc-vagrant
Debug Documentation - &> is not valid on Windows
2017-01-05 15:10:33 -08:00
Chris Roberts c11534e13c Merge pull request #8102 from mwrock/winrmv2
Refactor winrm communicator to use latest winrm gems and v2 api
2017-01-05 10:48:44 -08:00
Chris Roberts 734b196d05 Merge pull request #8146 from ctranstrum/patch-1
Fix typo.
2017-01-05 10:42:12 -08:00
Gilles Cornu 9493901e0c
provisioners/ansible: Add example of `host_vars` values that include quotes
Motivated by the support effort on GH-8158 ;-)
2016-12-28 23:23:43 +01:00
ctranstrum 52f45f27c4 Fix typo.
Looks like there was a typo. Fixed.
2016-12-21 15:08:57 -07:00
danielmenezesbr f66dd98d56 &> is not valid on windows
The command "vagrant up --debug &> vagrant.log" is not valid on Windows.
On Windows, you need to do: vagrant up --debug > vagrant.log 2>&1
2016-12-20 17:01:08 -02:00
Chris Roberts 9f393fc1e0 Use uid/gid from mount_options if provided for synced folders.
This also extracts the gid/uid detection and upstart actions into
reusable module to provide consistent behavior.
2016-12-14 12:12:17 -08:00
Rafal 25a1e79e27 Add missing config.ssh.keep_alive docs [GH-516] 2016-12-11 13:33:45 +00:00
Matt Wrock 725824e1dd refactor winrm communicator to use latest winrm gems and v2 api
Signed-off-by: Matt Wrock <matt@mattwrock.com>
2016-12-11 00:52:00 -08:00
Chris Roberts 6b2db8cf2a Add note about vagrant-salt plugin 2016-12-08 13:33:03 -08:00
Bjorn Brala 833a7fdb3e Update documentation to mention packaging Hyper-V boxes. 2016-12-08 21:21:55 +01:00
Chris Roberts 054d7f80ba Merge pull request #8071 from vaddina/patch-2
fix reload command in docs
2016-12-05 09:17:06 -08:00
Keviv 36bdde9f3c fix reload command in docs
shouldn't it be `reload` instead of `provision` ? :-/
2016-12-01 20:43:42 +01:00
Keviv 4c07d2f4fd deleted redundant and erroneous text
There were two sections for `Plugin Repair` but the last one's content was erroneous (contained `Plugin Update` docs).
2016-12-01 20:17:27 +01:00
Chris Roberts 82859ee286 Update plugin docs. Remove bundler instructions from source install instructions. 2016-11-22 16:49:45 -08:00
Chris Roberts dbf603b136 Merge pull request #8009 from afeld/patch-1
link to tip section about looping over VM definitions
2016-11-22 08:33:11 -08:00
Chris Roberts 1b4e56aa90 Merge pull request #7896 from npwalker/patch-1
Update snapshot save documentation
2016-11-22 08:32:12 -08:00
Jessica Brown 8ad7d8e3d5 Vagrant: adding more to privisioner line. 2016-11-21 19:26:10 +01:00
Jessica Brown 482380e46b Vagrant: Modifying CLI Documentation. 2016-11-21 18:13:52 +01:00
Aidan Feldman 38479a3541 link to tip section about looping over VM definitions
Users learning about multi-machine definitions will likely be interested in the linked tip...this connects the two pages.
2016-11-16 02:23:19 -05:00
Gilles Cornu 8caed8ea16 Merge pull request #7918 from mitchellh/gildegoma/fix-7195
Add `config_file` option to both Ansible provisioners
2016-11-15 08:29:30 +01:00
Chris Roberts de4612a549 Merge pull request #7879 from ivuk/fix-typo
Fix a typo in configuration.html.md
2016-11-14 14:14:35 -08:00
Chris Roberts 39e91ce32e Merge pull request #7897 from nobozo/patch-1
Update common-issues.html.md
2016-11-14 14:13:37 -08:00
Chris Roberts 0f720a4386 Merge pull request #7985 from chrisroberts/shell-provisioner/checksum
Add md5 and sha1 checksum support to Downloader.
2016-11-14 13:19:22 -08:00
Chris Roberts 2dcb47410f Merge pull request #7976 from chrisroberts/ssh/shell-compat
Allow custom generation of environment variable exports
2016-11-09 16:14:33 -08:00
Chris Roberts da45ca707c Add md5 and sha1 checksum support to Downloader.
Allows checksum validation on downloaded files via Util::Downloader
using MD5 and/or SHA1 checksums. This also integrates checksum validation
support with the shell provisioner for downloaded remote files.
2016-11-09 16:05:39 -08:00
Björn Brala da93fd3551 Add prune command to documentation 2016-11-09 09:24:59 +01:00
Chris Roberts dfc5e0d9a0 communicator/ssh: Allow custom generation of environment variable exports 2016-11-08 09:50:39 -08:00
Chris Roberts 05963159a8 Merge pull request #7931 from chrisroberts/puppet/env-vars
Puppet environment variables
2016-10-28 12:46:44 -07:00
Chris Roberts 4595082a23 Include hash data types within puppet apply documentation 2016-10-27 15:15:03 -07:00
Chris Roberts 36d0722366 Merge pull request #7719 from dragon788/patch-1
Corrected typo, added a couple examples.
2016-10-26 10:25:04 -07:00
Azul a4408037ba add support for environment variables on a puppet apply run 2016-10-26 09:36:34 -07:00
Chris Roberts 3ee2bca793 Merge pull request #7907 from chrisroberts/salt-config/defaults
provisioners/salt: Synchronize config defaults with documentation
2016-10-24 07:07:41 -07:00
Gilles Cornu a842abbc38
provisioners/ansible(both): Add config_file option
With this new option defined, the `ansible-galaxy` and
`ansible-playbook` commands generated by the Ansible provisioners will
be executed with the ANSIBLE_CONFIG environment variable set
accordingly.

Resolve GH-7195

This commit also fix the following open issues:
- Implement the pending RSpec examples about path existence checks
  performed by the ansible (remote) provisioner.
- In verbose mode, the ansible remote provisioner now correctly displays
  the Ansible Galaxy parameters ("role_file" and "roles_path") with
  single quotes (which is safer for potential copy-paste usage).

Additional Notes:
- Test coverage for `ansible_local` provisioner is still not
  implemented. See GH-6633.
- Test coverage for galaxy from host is not implemented yet (due to
  general issue with mocking both command executions, see
  https://github.com/mitchellh/vagrant/pull/6529#r45278451
2016-10-22 01:09:12 +02:00
Gilles Cornu 9d95eb821c
provisioners/ansible: Minor documentation improvements
- Try to make more visible the options shared by both provisioners
- Update some internal links to directly reach the mentioned option

[ci skip]
2016-10-22 01:05:50 +02:00
Gilles Cornu 35f7c2c4c9
provisioners/ansible: Fix raw_arguments documentation
Precise valid and invalid syntax for `raw_arguments` array values,
especially for the `ansible` remote provisioner.

Close GH-7890

[ci skip]
2016-10-22 01:00:57 +02:00
Gilles Cornu 80fb6be61f
docs/ansible: Fix small issues
- fix alpha-order listing of the shared options ansible_common.html.md
- fix two wrong indentations in ansible_intro.html.md

[ci skip]
2016-10-17 21:14:50 +02:00
Chris Roberts fa2a9105f0 provisioners/salt: Synchronize config defaults with documentation 2016-10-17 10:11:39 -07:00
Jon Forrest 734fa7bbbb Update common-issues.html.md 2016-10-13 14:46:43 -07:00
Nick Walker 1d401ebc95 Update snapshot save documentation
Prior to this commit, the snapshot save command did not have the vm_name as part of the command.  

After this commit, the snapshot save command docs match the CLI --help.
2016-10-13 13:31:16 -07:00
Daniel Gonzalez 79a3cb8a14 Add unit test and documentation for playbook_command option 2016-10-10 16:56:36 +02:00
Igor Vuk c12101b2f8 Fix a typo in configuration.html.md 2016-10-08 18:37:43 +02:00
Chris Roberts 79771ff58a Merge pull request #7758 from rquadling/patch-1
Add note about using a separate file for sudoers
2016-09-28 06:07:57 -07:00
Richard Quadling 5286410e52 Update nfs.html.md 2016-09-16 00:21:02 +01:00
Emmanuel Obidiegwu ad4820484b Update providers.html.md 2016-09-07 09:45:14 +01:00
Richard Quadling c7a1c681d0 Add note about using a separate file for sudoers 2016-08-26 14:26:40 +01:00
Chris Roberts 9c299a2a35 Merge pull request #7724 from dragon788/patch-2
Updated comments to match example
2016-08-19 10:48:03 -07:00
Chris Roberts bbac718925 Add NFSv4 warning and information 2016-08-19 09:33:36 -07:00
dragon788 c75372d0ea Updated comments to match example 2016-08-16 12:32:22 -05:00
dragon788 977630c7de Corrected typo, added a couple examples. 2016-08-15 16:45:35 -05:00
Zack Train cb70749bd8 redux of pr 7398 for ssh-agent key fix 2016-08-11 11:48:10 -07:00
Seth Vargo f511282d01
Update docs on vbox version
Fixes GH-7620
2016-07-22 13:40:19 -04:00
Seth Vargo cf1b18d6b2
Move wiki information to source 2016-06-20 08:20:53 -04:00
Seth Vargo 3f27af7e95
core: Provide a way to globally disable box update checking
This adds a new environmental variable `VAGRANT_BOX_UPDATE_CHECK_DISABLE`,
which instructs Vagrant to not check for box updates when running
regular Vagrant commands. This behaves the same as the existing
`config.vm.box_update_check` configuration option, but can be set
globally. Vagrantfile-supplied options will take precedence.

Fixes GH-7479
2016-06-18 14:46:46 -04:00
Sean Chittenden 5c1ec1c8b7
Flesh out the list of base box guides in the documentation. 2016-06-12 22:50:35 -07:00
Gilles Cornu 06a12097b1 provisioners/ansible(both): fix docs indentation
Bullet Lists are no longer correclty grouped (after the introduction of
the new layout). This is kind of workaround to keep each sub-paragraphs
of a list item well aligned.
2016-06-08 23:53:58 +02:00
Gilles Cornu bb9dba56ac provisioners/ansible_local: add "pip" install_mode
These changes have been validated against the following guest systems:
- Debian 7 and 8
- Ubuntu 12.04, 14.04 and 16.04
- Fedora 21 and 23
- CentOS 7
- OracleLinux 7
- Scientific Linux 7

At the moment, the pip setup (via get-pip.py script) is not working for
RHEL6-like systems (CentOS 6.6, OracleLinux 6.5, Scientific Linux 6),
because Python 2.6 has been deprecated and is no longer supported by
Python core team. I consider this limitation with low priority in
Vagrant context.

The `:pip` install_mode is currently not implemented for the following
platforms:
- OpenSUSE
- ArchLinux
- FreeBSD

Known Issue: By using get-pip.py script, any previous pip installation
will be most probably overrided. This could be an issue for Python
developers who would prefer to keep their base box setup untouched. In
future iteration, it could be possible to choose to reinstall/upgrade
pip or not. issue for Python developers who would prefer to keep their
base box setup untouched. In future iteration, it could be possible to
choose to reinstall/upgrade pip or not.

Resolve GH-6654

Resolve GH-7167 as the `version` option is now considered to select the
version of Ansible to be installed.
2016-06-08 23:53:58 +02:00
Ján Dzurek 8985605e35 Ansible Local docs typo fix 2016-06-07 15:18:23 +02:00
Seth Vargo 0ec0420d6b Update docs 2016-06-06 19:21:58 -04:00
David Siefert 39a2f04a9e Document how to specify explicit version of box
I needed this....
2016-06-06 18:15:29 -05:00
Seth Vargo 57455b8e86
Update systemctl no-pager on website 2016-06-06 19:14:13 -04:00
Dan Falcone 219007c6e6 provisioners/ansible: Fix documentation typo 2016-06-01 20:01:10 -04:00
Seth Vargo 3fa30a71b0
provisioners/salt: Doc - fix typo 2016-06-01 08:31:31 -04:00
Seth Vargo 228abf27a6
provisioner/salt: fix orchestrations documentation
Fixes GH-7209
2016-05-31 22:06:57 -04:00
Seth Vargo cfac24779c
provider/docker: Separate -i and -t flags for exec 2016-05-31 20:05:27 -04:00
Seth Vargo bf96b3348b
provider/docker: Add docker-exec command
This adds a new core command, `docker-exec`, which allows the user to
exec into an already-running container.

- Fixes #6566
- Fixes #5193
- Fixes #4904
- Fixes #4057
- Fixes #4179
- Fixes #4903
2016-05-31 20:05:26 -04:00
Seth Vargo 0216a09bf2
Document VAGRANT_NO_PARALLEL
Fixes GH-6014
2016-05-30 17:28:23 -04:00