From afc074fb11b3071c2f6446cce4958c3cc65d84fb Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 24 Apr 2018 11:07:37 -0700 Subject: [PATCH] Document valid trigger commands --- website/source/docs/triggers/configuration.html.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website/source/docs/triggers/configuration.html.md b/website/source/docs/triggers/configuration.html.md index 84dceb42f..15780e58e 100644 --- a/website/source/docs/triggers/configuration.html.md +++ b/website/source/docs/triggers/configuration.html.md @@ -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.