From bd133e172714668dc7301b515a7182189c24bc31 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 6 Apr 2018 11:34:23 -0700 Subject: [PATCH] Docs updates for triggers --- website/source/docs/triggers/index.html.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/website/source/docs/triggers/index.html.md b/website/source/docs/triggers/index.html.md index 074e09f1d..58e82cd99 100644 --- a/website/source/docs/triggers/index.html.md +++ b/website/source/docs/triggers/index.html.md @@ -33,16 +33,15 @@ config.trigger.before :up, :destroy, :halt, :package do |trigger| end ``` -Alternatively, the key `:all` could be given which would run the trigger for every -Vagrant command. This trigger will run before or after every Vagrant command. If -there is a command you don't want the trigger to run on, you can ignore that -command with the `ignore` option. +Alternatively, the key `:all` could be given which would run the trigger before +or after every Vagrant command. If there is a command you don't want the trigger +to run on, you can ignore that command with the `ignore` option. ```ruby # single command trigger config.trigger.before :all do |trigger| trigger.info = "Running a before trigger!" - trigger.ignore = [:destroy, :package] + trigger.ignore = [:destroy, :halt] end ```