Update trigger code docs
This commit is contained in:
parent
1591ae9916
commit
d3dde739fe
|
@ -136,8 +136,7 @@ module VagrantPlugins
|
|||
end
|
||||
end
|
||||
|
||||
# Validate Trigger settings
|
||||
# TODO: Validate not called if there are guests defined in vagrantfile
|
||||
# Validate Trigger Arrays
|
||||
def validate(machine)
|
||||
errors = _detected_errors
|
||||
@_before_triggers.each do |bt|
|
||||
|
|
|
@ -53,7 +53,7 @@ module VagrantPlugins
|
|||
|
||||
# If set, will only run trigger for guests that match keys for this parameter.
|
||||
#
|
||||
# @return [String, Array]
|
||||
# @return [String, Regex, Array]
|
||||
attr_accessor :only_on
|
||||
|
||||
# A local inline or file script to execute for the trigger
|
||||
|
@ -167,7 +167,7 @@ module VagrantPlugins
|
|||
#
|
||||
# @return [String]
|
||||
def to_s
|
||||
"Trigger Config"
|
||||
"trigger config"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue