diff --git a/plugins/provisioners/salt/config.rb b/plugins/provisioners/salt/config.rb index f47770d97..860db2f6f 100644 --- a/plugins/provisioners/salt/config.rb +++ b/plugins/provisioners/salt/config.rb @@ -114,14 +114,14 @@ module VagrantPlugins if @minion_config expanded = Pathname.new(@minion_config).expand_path(machine.env.root_path) if !expanded.file? - errors << I18n.t("vagrant.provisioners.salt.minion_config_nonexist") + errors << I18n.t("vagrant.provisioners.salt.minion_config_nonexist", missing_config_file: expanded) end end if @master_config expanded = Pathname.new(@master_config).expand_path(machine.env.root_path) if !expanded.file? - errors << I18n.t("vagrant.provisioners.salt.master_config_nonexist") + errors << I18n.t("vagrant.provisioners.salt.master_config_nonexist", missing_config_file: expanded) end end diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 930bde690..908f8e82d 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -1908,9 +1908,9 @@ en: salt: minion_config_nonexist: |- - The specified minion_config file could not be found. + The specified minion_config '%{missing_config_file}' file could not be found. master_config_nonexist: |- - The specified master_config file could not be found. + The specified master_config '%{missing_config_file}' file could not be found. grains_config_nonexist: |- The specified grains_config file could not be found. missing_key: |-