Website updates based on feedback

This commit is contained in:
Brian Cain 2018-04-23 09:14:31 -07:00
parent daffd87200
commit 1eabd0901e
No known key found for this signature in database
GPG Key ID: 43D51080D357A001
2 changed files with 5 additions and 6 deletions

View File

@ -3,19 +3,18 @@ layout: "docs"
page_title: "Vagrant Triggers Configuration"
sidebar_current: "triggers-configuration"
description: |-
Documentation of various configuration options for Vagrnat Triggers
Documentation of various configuration options for Vagrant Triggers
---
# Configuration
Vagrant Triggers has a few various options that can be set which define how the
trigger should behave.
Vagrant Triggers has a few options to define trigger behavior.
## Options
The trigger class takes various options.
* `action` (symbol, array) - Expected to be a single symbol value, an array of symbols, or a _splat_ of symbols. The first argument that comes after either __before__ or __after__ when defining a new trigger. Can be any valid Vagrant command. It also accepts a special value `:all` which will make the trigger fire for every action. An action can be ignored with the `ignore` setting if desired.
* `action` (symbol, array) - Expected to be a single symbol value, an array of symbols, or a _splat_ of symbols. The first argument that comes after either __before__ or __after__ when defining a new trigger. Can be any valid Vagrant command. It also accepts a special value `:all` which will make the trigger fire for every action. An action can be ignored with the `ignore` setting if desired. A list of valid core commands can be found [here](/docs/cli).
* `ignore` (symbol, array) - Symbol or array of symbols corresponding to the action that a trigger should not fire on.

View File

@ -12,7 +12,7 @@ As of version 2.1.0, Vagrant is capable of executing machine triggers _before_ o
_after_ Vagrant commands.
Each trigger is expected to be given a command key for when it should be fired
during the Vagrant command life cycle. These could be defined as a single key or
during the Vagrant command lifecycle. These could be defined as a single key or
an array which acts like a _whitelist_ for the defined trigger.
@ -76,7 +76,7 @@ config.vm.define "ubuntu" do |ubuntu|
end
```
Global and machine scopped triggers will execute in the order that they are
Global and machine-scoped triggers will execute in the order that they are
defined within a Vagrantfile. Take for example an abstracted Vagrantfile:
```