Commit Graph

372 Commits

Author SHA1 Message Date
Chris Roberts 84c0aafe71 Support non-interactive local plugin install 2018-07-17 14:49:41 -07:00
Justin Campbell e56e85c94d
Merge pull request #10020 from hashicorp/website-vagrant-cloud-api-search
website: Document Vagrant Cloud search API
2018-07-16 16:46:49 -04:00
Justin Campbell 3e0477c20b website: Add downloads to box API responses 2018-07-13 14:57:05 -04:00
Justin Campbell a2abbcdc92 website: Document Vagrant Cloud search API 2018-07-13 14:55:00 -04:00
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
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
marjune 8e5dc0dfe8 add missing section separator for config.ssh part 2018-06-10 22:36:45 +08: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
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
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
Brian Cain afc074fb11
Document valid trigger commands 2018-04-24 11:23:13 -07:00
Brian Cain 1eabd0901e
Website updates based on feedback 2018-04-23 09:14:31 -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 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 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
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