Add dependency provisioner name to error message
This commit is contained in:
parent
c1f0bd638d
commit
8c39d9bfed
|
@ -125,7 +125,8 @@ module VagrantPlugins
|
|||
errors << I18n.t("vagrant.provisioners.base.missing_provisioner_name",
|
||||
name: @before,
|
||||
machine_name: machine.name,
|
||||
action: "before")
|
||||
action: "before",
|
||||
provisioner_name: @name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -142,7 +143,8 @@ module VagrantPlugins
|
|||
errors << I18n.t("vagrant.provisioners.base.missing_provisioner_name",
|
||||
name: @after,
|
||||
machine_name: machine.name,
|
||||
action: "after")
|
||||
action: "after",
|
||||
provisioner_name: @name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2490,7 +2490,7 @@ en:
|
|||
invalid_alias_value: |-
|
||||
Provisioner option `%{opt}` is not set as a valid type. Must be a string, or one of the alias shortcuts: %{alias}
|
||||
missing_provisioner_name: |-
|
||||
Could not find provisioner name `%{name}` defined for machine `%{machine_name}` to run provisioner `%{action}`.
|
||||
Could not find provisioner name `%{name}` defined for machine `%{machine_name}` to run provisioner `%{action}` "%{provisioner_name}".
|
||||
wrong_type: |-
|
||||
Provisioner option `%{opt}` is not set as a valid type. Must be a string.
|
||||
chef:
|
||||
|
|
Loading…
Reference in New Issue