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",
|
errors << I18n.t("vagrant.provisioners.base.missing_provisioner_name",
|
||||||
name: @before,
|
name: @before,
|
||||||
machine_name: machine.name,
|
machine_name: machine.name,
|
||||||
action: "before")
|
action: "before",
|
||||||
|
provisioner_name: @name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -142,7 +143,8 @@ module VagrantPlugins
|
||||||
errors << I18n.t("vagrant.provisioners.base.missing_provisioner_name",
|
errors << I18n.t("vagrant.provisioners.base.missing_provisioner_name",
|
||||||
name: @after,
|
name: @after,
|
||||||
machine_name: machine.name,
|
machine_name: machine.name,
|
||||||
action: "after")
|
action: "after",
|
||||||
|
provisioner_name: @name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -2490,7 +2490,7 @@ en:
|
||||||
invalid_alias_value: |-
|
invalid_alias_value: |-
|
||||||
Provisioner option `%{opt}` is not set as a valid type. Must be a string, or one of the alias shortcuts: %{alias}
|
Provisioner option `%{opt}` is not set as a valid type. Must be a string, or one of the alias shortcuts: %{alias}
|
||||||
missing_provisioner_name: |-
|
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: |-
|
wrong_type: |-
|
||||||
Provisioner option `%{opt}` is not set as a valid type. Must be a string.
|
Provisioner option `%{opt}` is not set as a valid type. Must be a string.
|
||||||
chef:
|
chef:
|
||||||
|
|
Loading…
Reference in New Issue