Commit Graph

1430 Commits

Author SHA1 Message Date
Brian Cain 52c3dcc70e
(#9997) Catch and allow for non-standard exit codes
Prior to this commit, the run trigger option wouldn't catch for failures
outside of the #Subprocess.execute raising exceptions. This commit fixes
that by inspecting the exit code result of the subprocess and using the
new `exit_codes` option to determine how to move forward with the
trigger.
2018-07-09 15:56:26 -07:00
Chris Roberts 1a67b59292 Update WSL docs page 2018-07-06 16:58:12 -07:00
Caleb Martinez 0a1f10c829
Added corresponding documentation
Documentation added for proposed environment variable `VAGRANT_USER_AGENT_PROVISIONAL_STRING`.
2018-07-06 17:51:59 -04:00
Justin Campbell 45dcc43392
Merge pull request #9953 from hashicorp/website-vagrant-cloud-api-delete-token
website: Vagrant Cloud API docs - deleting tokens
2018-06-27 14:04:28 -04:00
Chris Roberts 2cc33870d0 Update website vagrant version 2.1.2 2018-06-26 13:50:11 -07:00
Justin Campbell 969f6fda41 website: Vagrant Cloud API docs - deleting tokens 2018-06-26 12:44:56 -04:00
marjune f2faabec25 use vagrant file version 2 configuration for nfs synced folder 2018-06-17 23:31:15 +08:00
Milan Stovicek 3ce7c0cf3f
Add `suspend` into a list of available actions
`suspend` action is not listed, even though it can be used and it works.

```
$ vagrant --version
Vagrant 2.1.1
```

```
config.trigger.before [:suspend] do |trigger|
  trigger.name = "Before suspend"
  trigger.run = {inline: "..."}
end
````
2018-06-13 18:51:45 +02:00
Jordan Hewitt 6b022bcbfb Added note on other virtualizers before pre-install. 2018-06-12 08:44:41 -07:00
marjune 8e5dc0dfe8 add missing section separator for config.ssh part 2018-06-10 22:36:45 +08:00
Chris Roberts 0a89909ebd
Merge pull request #9804 from chrisroberts/e-download-changelog
Add link to CHANGELOG for current release on downloads page
2018-06-08 16:19:43 -07:00
Brian Cain 1ee2365599
Merge pull request #9906 from briancain/fix-vc-docs
Fix broken link in Vagrant Cloud API docs
2018-06-06 15:26:10 -07:00
Brian Cain 97806a693e
Fix broken link in Vagrant Cloud API docs
This commit fixes the #TODO link with the proper docs link to upload a
provider.
2018-06-06 15:03:39 -07:00
Chris Roberts 120fa07a8d
Merge pull request #9872 from chrisroberts/e-hyperv-2
Hyper-V provider overhaul
2018-06-04 16:51:12 -07:00
Gilles Cornu d5b5e9ea8c ansible_local: Improve installation from PPA
- Fix #9796: Failing installation on bionic (18.04 LTS)
- Remove support for precise (12.04 LTS), which is out of public support
  (On this version, the package python-software-properties contained
  the add-apt-repository tool)
- Reduce the number of SSH calls, and avoid unnecessary apt-get calls.
2018-05-31 05:47:50 +02:00
Hendy Irawan 0cd2ea6548
Remove .
The command should be stand-alone, not part of a "sentence":

```
Enable-WindowsOptionalFeature : A positional parameter cannot be found that accepts argument '.'.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Enable-WindowsOptionalFeature], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
```
2018-05-30 17:11:14 +07:00
Chris Roberts 4e09a15acd Remove deprecated warning from non-deprecated option 2018-05-29 11:43:13 -07:00
Chris Roberts 12194cba5a Update Hyper-V provider configuration documentation 2018-05-29 10:21:52 -07:00
Gilles Cornu f9f0a9ac0d Ansible Docs: Review and Adapt PR #9864
- Remove undesired blank characters
- The examples attached to a specific option must be concise
- The original example is a tip for a non-standard use case
2018-05-25 21:03:42 +02:00
Rémy G 57f12d115c
Update ansible_common.html.md
Added an explanation about locating ansible roles in a non vagrant writeable directory
2018-05-24 14:54:15 +02:00
Rémy G 4b896d9945
ansible_local provisioner tuning example
According to @gildegoma in #9863, here's a concrete example about tuning ansible(_local) provisioner.
2018-05-24 14:22:43 +02:00
Gilles Cornu e7da25b9f0 website/README: Add a link to CONTRIBUTING.md 2018-05-16 14:26:14 +02:00
Jeff Kohrman 7d1b9eed17
Add link to privacy policy in website footer
Added link to updated privacy policy in footer of `layout.erb` for the OSS website.
2018-05-09 12:16:58 -06:00
Chris Roberts f9f762dc0a Add link to CHANGELOG for current release on downloads page 2018-05-07 16:49:53 -07:00
Chris Roberts 27fd56de74 Update website vagrant version 2.1.1 2018-05-07 16:38:46 -07:00
Brian Cain 83d102e708
Merge pull request #9793 from rgl/patch-2
reword the triggers only_on documentation
2018-05-07 09:30:19 -07:00
Brian Cain bf095a8525
Merge pull request #9792 from rgl/patch-1
Update configuration.html.md
2018-05-07 09:25:25 -07:00
Chris Roberts de1c28aad0 Remove files url from example 2018-05-07 07:27:01 -07:00
Rui Lopes f3b377bd5c
reword the triggers only_on documentation 2018-05-06 20:25:46 +01:00
Rui Lopes a3175259db
Update configuration.html.md
fix typos
2018-05-06 20:23:20 +01:00
Brian Cain 09be82f1e2
Merge pull request #9778 from OverByThere/patch-1
Syntax error for running remote script
2018-05-04 09:08:56 -07:00
Dan Clarke 4b99e5676d
Syntax error for running remote script
I either got:
`syntax error, unexpected ':', expecting '}` or `wrong number of arguments (given 1, expected 0) (ArgumentError)` until I added the `=` in.
2018-05-04 15:44:31 +01:00
Richard Quadling 3da8f57d6e
Update usage.html.md
Show a `before` and an `after`.
2018-05-04 15:31:27 +01:00
Chris Roberts 0af7ccd2ee Update website vagrant version 2.1.0 2018-05-03 14:16:03 -07:00
Chris Roberts 6484f70e1a Remove CSS for FOUT prevention 2018-04-27 08:41:52 -07:00
Brian Cain 1f25b2cc22
Merge pull request #9736 from briancain/disable-loading-triggers-if-plugin-exists
Add warning if vagrant-triggers plugin is installed
2018-04-26 16:11:31 -07:00
Brian Cain 1ef45d8073
Add warning if vagrant-triggers plugin is installed
To allow users to continue to use the community plugin, this commit adds
a switch that will not load the core trigger feature if it detects the
community plugin is installed. It also allows the user to disable the
warning so they can continue to use the plugin without extra output.
2018-04-26 14:59:09 -07:00
Chris Roberts 7a769a879f
Merge pull request #9707 from hashicorp/je.remove-turbolinks
Turbolinks adjustments
2018-04-26 13:22:49 -07:00
Brian Cain 5643ba0c7d
Merge pull request #9713 from briancain/vagrant-triggers-config
Integrate vagrant-triggers plugin functionality into core Vagrant
2018-04-24 11:35:04 -07:00
Brian Cain afc074fb11
Document valid trigger commands 2018-04-24 11:23:13 -07:00
Chris Roberts c31f87d434 Update website utility version 1.0.1 2018-04-23 14:54:00 -07:00
Jeff Escalante 9273b5f794 turbolinks and script optimizations 2018-04-23 13:14:11 -04:00
Brian Cain 1eabd0901e
Website updates based on feedback 2018-04-23 09:14:31 -07:00
Chris Roberts bd586178f5 Update website vagrant version 2.0.4 2018-04-20 14:38:40 -07:00
Brian Cain bd133e1727
Docs updates for triggers 2018-04-20 10:51:38 -07:00
Brian Cain e25cb51f15
Properly print warnings on config settings that aren't supported 2018-04-20 10:51:38 -07:00
Brian Cain 5e9387dca8
Add basic triggers example 2018-04-20 10:51:38 -07:00
Brian Cain 6f2b5a9fa0
Update trigger docs 2018-04-20 10:51:38 -07:00
Brian Cain 4e5e4d0214
Use args setting for run option in trigger 2018-04-20 10:51:38 -07:00
Brian Cain c35e0a4f9a
Update docs with some basic trigger examples 2018-04-20 10:51:38 -07:00
Brian Cain a20404599e
Add trigger documentation 2018-04-20 10:51:38 -07:00
Brian Cain 2dadc0463e
Fix trigger doc sidebar 2018-04-20 10:51:38 -07:00
Brian Cain c832168846
Update trigger config docs 2018-04-20 10:51:38 -07:00
Brian Cain 09bb98679c
Add basic website pages for triggers 2018-04-20 10:51:38 -07:00
Brian Cain 151095a3e9
Merge pull request #9420 from ryanwalder/salt-json
Add master_json_config & minion_json_config options to salt provisioner
2018-04-16 15:37:44 -07:00
Chris Roberts 9ba44fcece
Merge pull request #9545 from hashicorp/je.segment
Switch web analytics to segment
2018-04-10 15:15:21 -07:00
Chris Roberts 100976fad0 Include installation information for vagrant share plugin
Fixes #9485
2018-04-10 10:03:46 -07:00
Chris Roberts f3c5e86f28
Merge pull request #9504 from zachflower/feature/vagrant-aliases
Vagrant aliases
2018-04-06 15:39:18 -07:00
Jeff Escalante db959c16c5 switch web analytics from ga to segment 2018-04-06 18:25:11 -04:00
Chris Roberts c1f27dc165 Remove windows only note on environment variable 2018-04-05 09:34:14 -07:00
Chris Roberts ef4318eda2
Merge pull request #9653 from chrisroberts/f-powershell-detection
Make powershell version detection timeout configurable
2018-04-04 16:20:23 -07:00
Chris Roberts dd1d91f2c4
Merge pull request #9503 from chrisroberts/f-win-ssh-control
Fix ssh binary selection on windows
2018-04-04 16:05:17 -07:00
Chris Roberts 77c0681a0f Include new environment variable in documentation 2018-04-04 16:03:40 -07:00
Chris Roberts 93baadab75 Remove some extra words in documentation 2018-04-04 15:51:52 -07:00
Chris Roberts 08e381c6b2 Update prefer system bin env var docs 2018-04-04 15:50:52 -07:00
Chris Roberts 30e7e81eab Make resolv-replace loading optional not automatic 2018-04-02 11:59:02 -07:00
Chris Roberts 1de76ce374 Include section on upgrading the desktop plugin 2018-03-27 16:51:18 -07:00
Mitchell Hashimoto 503dd89017
Update installation.html.md 2018-03-27 15:00:19 -07:00
Mitchell Hashimoto 5b70ada5d9
Update installation.html.md 2018-03-27 14:58:13 -07:00
Chris Roberts bd4eeb5f4f Fix number used 2018-03-26 15:10:07 -07:00
Chris Roberts 2df3f58c17 Add note about running VMs on installation doc 2018-03-23 13:07:07 -07:00
Chris Roberts 36c25b4428 Update buy for desktop SKU only 2018-03-23 10:26:30 -07:00
Chris Roberts f41cc8d6b3 Update vmware provider documentation 2018-03-23 10:26:30 -07:00
Brian Cain ab99a5d604
Merge pull request #9594 from timolehto/patch-1
ruby ex missing a step & upload use wrong verb
2018-03-22 10:19:25 -07:00
Brian Cain d696e5a1ac
Merge pull request #9607 from briancain/patrickocoffeyo-docs/clarify-hyper-v-docs
Clarify Hyper-V documentation
2018-03-22 10:07:40 -07:00
Brian Cain e4554249f7
Merge pull request #9606 from amwill04/patch-2
Update options to define id can be used in any directory
2018-03-22 10:04:00 -07:00
Brian Cain 941b660489
Put back installation doc info 2018-03-22 09:57:43 -07:00
Brian Cain 2ce7041f80
Merge branch 'docs/clarify-hyper-v-docs' of https://github.com/patrickocoffeyo/vagrant into patrickocoffeyo-docs/clarify-hyper-v-docs 2018-03-22 09:54:49 -07:00
Brian Cain 0ce6e9891e
Merge pull request #9572 from jsoref/spelling
Spelling
2018-03-22 09:50:52 -07:00
Alan 0ac919547e
Update options to define id can be used in any directory
See: https://github.com/hashicorp/vagrant/pull/9605

Proposes add `name|id` to `Options` to define the ability to use `id` from any directory.
2018-03-22 16:45:03 +00:00
Brandon Authier e5dd4d9e36
Fix missing "-" $script variable definition.
In the $script variable definition there appears to be a typo of "<<SCRIPT" when it should be "<<-SCRIPT". I ran into this issue while editing the Vagrant file on a Fedora variant with ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux].
2018-03-20 15:58:28 -07:00
timolehto 9461034add ruby ex missing a step & upload use wrong verb
Creating a usable box from scratch
- api only accepts puts no push when uploading the file
- the final step of actually releasing the version was missing from ruby example
2018-03-20 11:30:15 +02:00
Chris Roberts 88a12e5243 Update image version 2018-03-15 14:37:25 -07:00
Chris Roberts ba6aadda65 Relax middleman-hashicorp constraint and update 2018-03-15 14:25:14 -07:00
Chris Roberts a44c85095b Update website version to 2.0.3 2018-03-15 14:21:51 -07:00
Josh Soref 1a5ddea9f4 Spelling fixes
* account
* addresses
* administrator
* afterwards
* because
* bridgeable
* capabilities
* capability
* checksum
* configuration
* configuration for
* configure
* criteria
* delimited
* delivered
* derivatives
* description
* detect
* directory
* display
* downloading
* during
* electric
* enabling
* encountered
* equivalent
* executable
* executed
* hashicorp
* hypervisor
* hyphens
* implementation
* incorporate
* inheritance
* initialize
* instance
* instead
* interactions
* invocable
* machine
* maximum
* message
* mounting
* overridden
* overwrite
* paramiko
* preparing
* provides
* provisioning
* recursively
* requested
* resetting
* retryable
* running
* satisfied
* searching
* sometimes
* specified
* successfully
* synced folders
* unauthorized
* underlying
* userprofile
* vagrant
* vagrantfile
* variable
* various
* version
* virtual
* windows
2018-03-14 14:41:04 +00:00
Brian Cain f4b7cec162
Merge pull request #9542 from hashicorp/je.fixes
Some small website fixes
2018-03-08 11:19:27 -08:00
Brandon Moore 5a12641f9c
Update URLs for the repo 2018-03-07 17:10:30 -05:00
Jeff Escalante 23de70e911 update dependencies + middleman-hashicorp 2018-03-06 19:04:08 -05:00
Jeff Escalante a3c1677f42 prepend 'Vagrant' with 'HashiCorp' 2018-03-06 19:03:17 -05:00
Zachary Flower 1fc2129e0c add new cli alias documentation 2018-02-26 13:41:38 -07:00
Chris Roberts 89bdab8640
Merge pull request #9501 from dalvizu/patch-1
Add VirtualBox PATH export to WSL docs
2018-02-23 09:31:22 -08:00
Brian Cain 04d8f7defe
Merge pull request #9427 from clintharrison/fix/master/smb_sudoers_typo
Fix typo in macOS sudoers line
2018-02-22 15:21:56 -08:00
Dan Alvizu 9dbf811560
Add VirtualBox PATH export to WSL docs
Add explicit steps to add VirtualBox binaries to the PATH
2018-02-21 22:21:58 -07:00
John Eismeier 54ecded1d6
Propose fix some typos 2018-02-06 14:20:29 -05:00
Cladis d0d78a921f
confiured → configured typo fix 2018-02-02 16:02:28 +02:00
Clint Harrison 23a3157a43 Fix typo in macOS sudoers line 2018-02-01 10:43:47 -05:00
Ryan Walder db457e6318 Add master_json_config & minion_json_config options to salt provisioner
* Allow use of -j/-J bootstrap options for configuring master/minion
2018-01-31 12:28:36 +00:00
Chris Roberts a5a2ad5a6c Update website version to 2.0.2 2018-01-29 16:45:04 -08:00
Chris Roberts 81a3386af0 Include SSH client usage note in documentation 2018-01-26 07:25:57 -08:00
Chris Roberts 522d503030 Use Ruby's resolver by default and allow replace to be disabled 2018-01-22 10:40:33 -08:00
Chris Roberts 0c5e068357
Merge pull request #9378 from briancain/fix-doc-spacing
Add space to fix markdown error in docs
2018-01-16 20:14:18 -08:00
Chris Roberts b5383cffab
Merge pull request #9369 from chrisroberts/e-generic-sensitive
Add Vagrantfile configuration option to register sensitive values
2018-01-16 20:05:37 -08:00
Chris Roberts 3fc293d621 Add example for sensitive option 2018-01-16 16:04:32 -08:00
Brian Cain 726f89bab7
Add space to fix markdown error in docs 2018-01-16 14:26:09 -08:00
Chris Roberts e6554d614f Include default value within documentation 2018-01-16 11:54:56 -08:00
Chris Roberts f2f8bc2db5 Add Vagrantfile configuration option to register sensitive values 2018-01-15 07:23:47 -08:00
Chris Roberts 3664f1a627 Allow hiding environment variable values in shell provisioner 2018-01-12 17:33:47 -08:00
Brian Cain e229192d1d
Fix markdown in debugging docs 2018-01-12 15:38:29 -08:00
Chris Roberts b0fc6a06a1
Merge pull request #9294 from chrisroberts/e-smb
SMB synced folders enhancements
2018-01-12 15:02:08 -08:00
Chris Roberts 0ffec9cd6f Include explicit start to ensure start 2018-01-12 14:25:37 -08:00
Justin Campbell b5e248d14a
Merge pull request #9352 from Phoenix09/Phoenix09-patch-1
website: Fix incorrect URLs in some API examples
2018-01-11 17:41:27 -05:00
Brian Cain 9e2ce6c15a
Merge pull request #9354 from briancain/SharedFoldersEnableSymlinksCreate-Flag
Introduce flag for SharedFoldersEnableSymlinksCreate
2018-01-09 15:14:26 -08:00
Brian Cain b16ca2e384
Introduce flag for SharedFoldersEnableSymlinksCreate
Prior to this commit, the virtualbox synced folder option
`SharedFoldersEnableSymlinksCreate` was always enabled. This commit
introduces a config option and an environment variable which allows
users to configure the option globally or per synced_folder in their
Vagrantfile.
2018-01-09 14:33:24 -08:00
Brian Cain 9a1264c267
Merge pull request #9346 from hashicorp/winrm-ssl-doc
update ssl to :ssl
2018-01-09 14:19:08 -08:00
Phoenix09 48bf280d47
website: Fix incorrect URLs in some API examples 2018-01-09 18:38:59 +00:00
Alvaro Miranda Aguilera a88eb95727
update ssl to :ssl 2018-01-08 14:21:00 +01:00
hrvoj3e 63ec7c7b09
spelling fix - resoled to resolved 2018-01-06 17:01:30 +01:00
Brian Cain 24903c27b3
Merge pull request #9341 from briancain/9062/master/deprecate-paranoid-ssh-setting
Deprecate :paranoid in favor of :verify_host_key
2018-01-05 13:33:40 -08:00
Brian Cain 2fb12a15e5 Update website with new config.ssh setting and deprecation of :paranoid 2018-01-05 13:23:31 -08:00
Gilles Cornu eb1ed03448
Merge pull request #9308 from keks24/patch-1
correct pip argument in the example of ansible_local provisioner documentation
2018-01-05 14:17:15 +01:00
Chris Roberts 98ec1af30e Add smb_start capability for darwin 2018-01-02 11:21:50 -08:00
bjorn 59c4ca9f64 Update docs to use `Tee-Object` in PowerShell in Windows.
By using `Tee-Object` you can ouput the debug log to the console and a file, which is way easier to use than just outputting to a logfile.
2018-01-02 10:38:08 +01:00
Ramon Fischer f502841201
correct pip argument 2017-12-27 06:58:56 +01:00
Chris Roberts 68439f6bac Use sudo for sharing lists on darwin platform
On systems prior to high sierra the sharing binary
requires root user for access, so use sudo to get
full list output and inspect output.
2017-12-21 14:53:55 -08:00
Chris Roberts c9e4a400f2 Update SMB synced folder documentation 2017-12-21 12:51:13 -08:00
Chris Roberts 3a5729015a Add documentation entry for init command --template flag 2017-12-13 15:59:45 -08:00
Chris Roberts 833edf5b8f
Merge pull request #9231 from Manouchehri/docs-host
Remove outdated statement.
2017-12-13 15:27:16 -08:00
Ramiro Morales ac7c4b83cd Added missing CLI switch to base box test example. 2017-12-13 19:44:20 -03:00
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
Justin Campbell 32ac51b27c
Merge pull request #9126 from hashicorp/website-vagrant-cloud-2fa-anchor
website: Fix 2FA nav anchor
2017-11-15 13:52:18 -05:00
Chris Roberts ff691b08ee Update website version to 2.0.1 and slug name 2017-11-02 20:52:59 -07:00
Brian Cain ec43d3c308 Update destroy docs with new parallel flag 2017-11-02 10:16:44 -07:00
Justin Campbell 9a040b4a04 website: Fix 2FA nav anchor 2017-10-30 16:45:04 -04: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 5847c65f0e website: Remove Vagrant Cloud subnav from docs 2017-10-20 16:32:03 -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 3958783f42 website: Bump middleman-hashicorp to 0.3.29
Includes https://github.com/hashicorp/middleman-hashicorp/pull/50
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
Chris Roberts f99c5d4818 Update VMware versions 2017-10-18 08:57:05 -07: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 8610578d8d Update vagrant website version to 2.0.0 2017-09-07 07:46:51 -07: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
Chris Roberts d98f858d9c Update vagrant website version to 1.9.8 2017-08-23 12:11:24 -07: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
Chris Roberts c285e51bca Merge pull request #8847 from mitchellh/sethvargo/remove_people
Remove people from community section
2017-08-09 10:39:14 -07: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
Seth Vargo b409ea90fe
Update deploy process 2017-08-02 14:13:58 -04:00
Seth Vargo 4323ba5c73
Remove people from community section
This is going to be replaced with dynamic content from our CMS in the
future, but we agreed to remove it in the interim.
2017-08-02 13:51:42 -04: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
Ilia Liachin 142c086a2f Update docker.html.md
Docker now supports Windows
2017-07-24 23:07:41 +02: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
Brian Cain df62f27e27 Update vagrant website version to 1.9.7 2017-07-07 16:22:16 -07: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
Chris Roberts 2c36c835c5 Update download version to 1.9.6 2017-06-29 07:47:58 -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
Armon Dadgar f9f8ae7c83 Update index.html.erb
Fixing the Vagrant Cloud link
2017-06-27 16:28:59 -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 465c1c42e2 Merge pull request #8720 from JarvusInnovations/master
Update middleman-hashicorp to 0.3.28 for mega nav fixes
2017-06-26 19:19:55 -07:00
Ryon Coleman cb7fa43ff1 Update middleman-hashicorp to 0.3.28 for mega nav fixes
Fixes detailed at https://github.com/hashicorp/middleman-hashicorp/pull/47
2017-06-26 16:18:42 -04:00
Chris Roberts 00ba45bc54 Update Enterprise to Cloud 2017-06-23 10:01:51 -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
Chris Roberts 37b3fd346d Merge pull request #8654 from katiebayes/master
update middleman version from 22 to 26
2017-06-14 15:20:16 -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
Katie Bayes e2441dd4b7 fix update to middleman version 26 2017-06-07 17:12:14 -04:00
Katie Bayes cdd3cd1413 update middleman version from 22 to 26 2017-06-06 21:37:40 -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 e28fafb54d Update download version to 1.9.5 2017-05-15 18:46:26 -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
Liam Griffin 3b6b213880 Small typo 2017-04-26 11:20:32 +01:00
Chris Roberts aa70f3a43c Update download version to 1.9.4 2017-04-24 14:19:11 -07:00
JKapitein 9ac12f5227 Remove duplicate line 2017-04-21 14:19:51 +02:00
Seth Vargo 26f59f1b05
Update logos 2017-04-18 13:59:09 -04:00
Seth Vargo ded46dc71f
Update terminal 2017-04-18 13:54:25 -04:00