Skip to content

Commit

Permalink
Document valid trigger commands
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Apr 24, 2018
1 parent a9be56b commit afc074f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion website/source/docs/triggers/configuration.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ Vagrant Triggers has a few options to define trigger behavior.

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. A list of valid core commands can be found [here](/docs/cli).
* `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. These are the valid action commands for triggers:

- `destroy`
- `halt`
- `provision`
- `reload`
- `resume`
- `up`

* `ignore` (symbol, array) - Symbol or array of symbols corresponding to the action that a trigger should not fire on.

Expand Down

0 comments on commit afc074f

Please sign in to comment.